RFR: 8353325: Rewrite appcds/methodHandles test cases to use CDSAppTester

Ioi Lam iklam at openjdk.org
Mon Mar 31 23:14:34 UTC 2025


These test cases are rewritten to use CDSAppTester, so that they can also be executed in the new JEP 483 workflow (with `-XX:AOTCache=xxx`, etc). This will increase coverage of current and upcoming AOT features (such as AOT linking of invokedynamic, and AOT method profiling).

These test cases are generated by a bash script. This PR minimizes the generated part so that the main portions of the tests can be modified as a normal java source file.

-------------

Commit messages:
 - step 3: added support for dynamic and aot workflows
 - step 2: updated all tests to use STATIC workflow
 - step 1

Changes: https://git.openjdk.org/jdk/pull/24340/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24340&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353325
  Stats: 1611 lines in 18 files changed: 353 ins; 1214 del; 44 mod
  Patch: https://git.openjdk.org/jdk/pull/24340.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24340/head:pull/24340

PR: https://git.openjdk.org/jdk/pull/24340


More information about the hotspot-dev mailing list