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

Calvin Cheung ccheung at openjdk.org
Tue Apr 1 22:21:16 UTC 2025


On Tue, 1 Apr 2025 22:16:51 GMT, Ioi Lam <iklam at openjdk.org> wrote:

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

Marked as reviewed by ccheung (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24340#pullrequestreview-2734160625


More information about the hotspot-dev mailing list