RFR: 8275084: CDS warning during incremental build [v3]

David Holmes dholmes at openjdk.java.net
Thu Oct 21 00:51:01 UTC 2021


On Wed, 20 Oct 2021 19:20:28 GMT, Yumin Qi <minqi at openjdk.org> wrote:

>> Hi, Please review
>>   The generated SPECIES functions archived during dumping CDS archive. But some time rebuild issue warning 
>>   [2.325s][warning][cds] java.lang.ClassNotFoundException: java.lang.invoke.BoundMethodHandle$Species_LLLLL
>>   Since we only care archiving functions generated in the four holder classes:
>>   java.lang.invoke.Invokers$Holder, java.lang.invoke.LambdaForm$Holder, java.lang.invoke.DirectMethodHandle$Holder and java.lang.invoke.DelegatingMethodHandle$Holder
>>   This patch removed the logging thus the archiving of SPECIES_RESOLVED functions in shared archive.
>> 
>> Tests: tier1,tier4
>> 
>> Thanks
>> Yumin
>
> Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Keep SPECIES_REOLVE classes shared, but filtered them out as regular classes in DumpLoadedClassList

Seems reasonable.

Thanks,
David

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5998


More information about the hotspot-runtime-dev mailing list