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

Support building and running on JDK 22 #1419

Merged
merged 5 commits into from
Jul 20, 2024
Merged

Conversation

msridhar
Copy link
Member

@msridhar msridhar commented Jul 20, 2024

We don't immediately crash on JDK 22 bytecodes, but new bytecode features have not been tested.

We modify the TestList test input to avoid a blowup when running SlicerTest.testList. openjdk/jdk@b62e774 introduced calls to String.format from Integer.parseInt, which dramatically increased the number of reachable methods for the previous version of this test, which in turn led to very slow performance with the slicer. Changing the test to use a List<String> and string constants removes this blowup. (Whole-program analysis is fun!)

Fixes #1414

Copy link

github-actions bot commented Jul 20, 2024

Test Results

  813 files  +118    813 suites  +118   3h 55m 27s ⏱️ + 56m 1s
  735 tests ±  0    718 ✅ ±  0   17 💤 ± 0  0 ❌ ±0 
5 029 runs  +735  4 908 ✅ +718  121 💤 +17  0 ❌ ±0 

Results for commit f833882. ± Comparison against base commit 96cb898.

♻️ This comment has been updated with latest results.

@msridhar msridhar changed the title Support running on JDK 22 Support building and running on JDK 22 Jul 20, 2024
@msridhar msridhar marked this pull request as ready for review July 20, 2024 20:48
@msridhar msridhar enabled auto-merge (squash) July 20, 2024 20:48
@msridhar msridhar requested a review from liblit July 20, 2024 20:49
@msridhar msridhar disabled auto-merge July 20, 2024 21:17
@msridhar msridhar enabled auto-merge (squash) July 20, 2024 21:17
@msridhar msridhar disabled auto-merge July 20, 2024 22:06
@msridhar msridhar merged commit 594587c into wala:master Jul 20, 2024
11 checks passed
@msridhar msridhar deleted the support-jdk-22 branch July 20, 2024 22:15
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.

Support running on JDK 22
2 participants