RFR: 8348426: Generate binary file for -XX:AOTMode=record -XX:AOTConfiguration=file [v2]

Ioi Lam iklam at openjdk.org
Tue Feb 25 22:59:08 UTC 2025


On Wed, 12 Feb 2025 15:28:30 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Update "make test JTREG_AOT_JDK=true ..." to work with binary AOT configuration
>>  - Fixed test failures
>
> tools/javac/ImplicitClass/ImplicitImports.java failed in GHA:
> 
> [0.002s][warning][cds] Unable to use AOT cache: CDS is disabled when java.base module is patched.
>  Hello, World!
>  Exception running test testImplicitSimpleIOImport: java.lang.AssertionError: Incorrect Output, expected: [Hello, World!], actual: [[0.002s][warning][cds] Unable to use AOT cache: CDS is disabled when java.base module is patched., Hello, World!]
>  java.lang.AssertionError: Incorrect Output, expected: [Hello, World!], actual: [[0.002s][warning][cds] Unable to use AOT cache: CDS is disabled when java.base module is patched., Hello, World!]
>  	at ImplicitImports.testImplicitSimpleIOImport(ImplicitImports.java:171)

Thanks @vnkozlov @veresov @calvinccheung @veresov for the review.
I re-ran tests with tiers 1-5, plus extra AOT-enabled tests for jtreg and jck.

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

PR Comment: https://git.openjdk.org/jdk/pull/23484#issuecomment-2683474589


More information about the hotspot-dev mailing list