Skip to content

cvm/overlay: Fix G1ClassUnloadingHWM test#7

Open
duanyangjing wants to merge 2 commits into
jdk17u-target8from
aime/fix-g1-class-unloading-hwm
Open

cvm/overlay: Fix G1ClassUnloadingHWM test#7
duanyangjing wants to merge 2 commits into
jdk17u-target8from
aime/fix-g1-class-unloading-hwm

Conversation

@duanyangjing

Copy link
Copy Markdown
Owner

Update TestG1ClassUnloadingHWM.java and WhiteBox.java to follow the JDK17 hotspot GC logging model.

Add maxMetaspaceAllocationSize() to WhiteBox.java and use it in TestG1ClassUnloadingHWM.java to align with JDK17 hotspot behavior.

Add the original JDK 8 G1ClassUnloadingHWM test file to cvm/overlay/jdk8u as the baseline for the follow-up overlay changes.

This keeps the compatibility adjustments isolated in the second commit while preserving the unmodified upstream test source in the overlay history.
Update TestG1ClassUnloadingHWM.java and WhiteBox.java to follow the JDK17 hotspot GC logging model.

Add maxMetaspaceAllocationSize() to WhiteBox.java and use it in TestG1ClassUnloadingHWM.java to align with JDK17 hotspot behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant