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

Adding Java 17 and 21 #12

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Adding Java 17 and 21 #12

merged 1 commit into from
Apr 12, 2024

Conversation

jolynch
Copy link
Collaborator

@jolynch jolynch commented Apr 12, 2024

While jvmquake continues to be fully forwards compatible even compiled against Java 8, the test suite needs continual maintenance as JVMs add new garbage collectors and remove old options.

Java 17 and 21 remove CMS, add ZGC, and deprecate a bunch of GC options. This patch updates the test suites to be compatible with this.

@jolynch jolynch force-pushed the feature/jolynch/add-java-17 branch from f14ff26 to e15a409 Compare April 12, 2024 01:42
@jolynch
Copy link
Collaborator Author

jolynch commented Apr 12, 2024

Note that ZGC is currently ignored for the SlowDeath negative test (show that we don't die with JVM options) because it immediately ooms even though there is sufficient heap space (10%). If I reduce the test percentage to 80 or 70 then ZGC is able to maintain 50% throughput, which is enough to never be killed by jvmquake.

I think the TLDR is ZGC kind of has two modes, either it can maintain at least 50% throughput, or it dies. This is a nice property, but hard to test.

While jvmquake continues to be fully forwards compatible even compiled
against Java 8, the test suite needs continual maintenance as JVMs add
new garbage collectors and remove old options.

Java 17 and 21 remove CMS, add ZGC, and deprecate a bunch of GC options.
This patch updates the test suites to be compatible with this.
@jolynch jolynch force-pushed the feature/jolynch/add-java-17 branch from e15a409 to 5d8b5d0 Compare April 12, 2024 01:56
@jolynch jolynch merged commit 8fc3471 into master Apr 12, 2024
25 checks passed
@jolynch jolynch deleted the feature/jolynch/add-java-17 branch April 12, 2024 02:30
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