Skip to content

_NoLogging methods in VM #89634

@jasper-d

Description

@jasper-d

Since #68717 there are a bunch of Xyz and Xyz_NoLogging method pairs in VM code.
In most cases Xyz simply calls the _NoLogging variant or has the same implementation, e.g.

inline BOOL IsRestored_NoLogging()
{
LIMITED_METHOD_DAC_CONTRACT;
return !(GetWriteableData_NoLogging()->m_dwFlags & MethodTableWriteableData::enum_flag_Unrestored);
}
inline BOOL IsRestored()
{
LIMITED_METHOD_DAC_CONTRACT;
return IsRestored_NoLogging();
}

I think the only methods that differ in behaviour are MethodTable::GetClass_NoLogging/MethodTable::GetClass.

Could these _NoLogging variants be removed or are they kept for some reason?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions