-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-VM-coreclrhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
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.
runtime/src/coreclr/vm/methodtable.h
Lines 879 to 890 in f5ca995
| 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
Labels
area-VM-coreclrhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors