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

Ioi Lam iklam at openjdk.org
Tue Apr 1 22:16:51 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.

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge branch 'master' into 8353325-rewrite-cds-methodhandles-tests-using-cdsapptester
 - @calvinccheung comments
 - step 3: added support for dynamic and aot workflows
 - step 2: updated all tests to use STATIC workflow
 - step 1

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24340/files
  - new: https://git.openjdk.org/jdk/pull/24340/files/6a62ae00..3e1faf4b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24340&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24340&range=01-02

  Stats: 12395 lines in 218 files changed: 8327 ins; 3196 del; 872 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