Skip to content
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

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

gacholio
Copy link
Contributor

The current flag does nothing - use the flag that's used in other similar callers throughout the VM.

Fixes: #18482

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]>
@gacholio gacholio requested a review from amicic November 30, 2023 17:51
@gacholio gacholio marked this pull request as ready for review November 30, 2023 18:06
@amicic
Copy link
Contributor

amicic commented Nov 30, 2023

jenkins test sanity win,aix jdk11

@amicic amicic merged commit 67d8bce into eclipse-openj9:master Dec 1, 2023
7 checks passed
@gacholio gacholio deleted the rasflag branch December 1, 2023 03:27
/* 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);
Copy link
Contributor

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

Copy link
Contributor

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amicic Should we re-consider #18535?

Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JDK21 cmdLineTester_jvmtitests_hcr_openi9_none_SCC_7_FAILED rc018 testReflectRedefineAtSameTime
5 participants