-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix _LOGALLOC define #106023
Fix _LOGALLOC define #106023
Conversation
Tagging subscribers to this area: @dotnet/gc |
cc @dotnet/samsung |
src/coreclr/vm/object.h
Outdated
@@ -86,6 +86,10 @@ class ArgDestination; | |||
|
|||
struct RCW; | |||
|
|||
#ifdef _DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feels odd in object.h. Can it be added to log.h?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, done. Actually it just duplicates "_DEBUG" macro. Maybe it should be cleaned up and ifdef's should check "_DEBUG" macro instead?
8a010fb
to
43ba6ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
_LOGALLOC define was in gc.h while all usages in vm and this vm files do not include gc.h:
It caused lack of object allocation messages in common clr log.