-
Notifications
You must be signed in to change notification settings - Fork 722
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
Use correct GC flag in HCR dark matter cleanup #18540
Conversation
The current flag does nothing - use the flag that's used in other similar callers throughout the VM. Fixes: eclipse-openj9#18482 Signed-off-by: Graham Chapman <[email protected]>
jenkins test sanity win,aix jdk11 |
/* J9MMCONSTANT_EXPLICIT_GC_RASDUMP_COMPACT allows the GC to run while the current thread is holding | ||
* exclusive VM access. | ||
*/ | ||
vm->memoryManagerFunctions->j9gc_modron_global_collect_with_overrides(currentThread, J9MMCONSTANT_EXPLICIT_GC_RASDUMP_COMPACT); |
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.
I don't understand how this change has any effect. Both of these are defined as 2
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.
Ops, we did not realize that.
In fact, in a discussion, I stated one could alias to the other, without realizing it's effectively already the case.
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.
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.
prepared a fix based on it and confirmed it fixes the problem: #18606
The current flag does nothing - use the flag that's used in other similar callers throughout the VM.
Fixes: #18482