Skip to content

Support building and running on JDK 22#1419

Merged
msridhar merged 5 commits intowala:masterfrom
msridhar:support-jdk-22
Jul 20, 2024
Merged

Support building and running on JDK 22#1419
msridhar merged 5 commits intowala:masterfrom
msridhar:support-jdk-22

Conversation

@msridhar
Copy link
Copy Markdown
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

@github-actions
Copy link
Copy Markdown

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
@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