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

Ioi Lam iklam at openjdk.org
Wed Apr 2 03:49:05 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 incrementally with one additional commit since the last revision:

  Fixed failure with ZGC + AOT test case

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

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

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

  Stats: 29 lines in 7 files changed: 29 ins; 0 del; 0 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