-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_NoLogging methods in VM #89634
Comments
These are an historical artifact for scenarios involving collection of data that were reused for performance related tooling. The "_NoLogging" APIs were lighter-weight in the sense they didn't record accesses as opposed to the "logging" versions that did. All/most of that infrastructure was removed but we kept the "_NoLogging" in case we find a use case for this sort of mechanism again. I personally would be fine removing them since we are going to add new APIs that probably would need a log/no-log pair but since we don't measure or have an active scenario they won't get written. Which means we are going to need to audit everything again anyways. @davidwrighton and @jkotas Do either of you have any push back on removing these? |
Sounds good to me. |
@jasper-d I look forward to your PR :) |
Since #68717 there are a bunch of
Xyz
andXyz_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
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?
The text was updated successfully, but these errors were encountered: