RFR [8u60]: 8081590: The CDS classlist needs to be updated for 8u60
Remi Forax
forax at univ-mlv.fr
Mon Jun 15 07:06:13 UTC 2015
Hi all,
[ ...]
>> I guess such cases would simply be ignored (with a warning) when dumping
>> the shared archive. While avoiding warnings is intrinsically good, I
>> can't see that it'd create any real issues, would it?
>>
>> On a closer inspection I noticed that 3 such warnings are emitted during
>> -Xshare:dump:
>>
>> java/lang/invoke/BoundMethodHandle$Species_L3
>> java/lang/invoke/BoundMethodHandle$Species_L4
>> java/lang/invoke/BoundMethodHandle$Species_LL
>>
>> These are lazily generated by BoundMethodHandle, so I've removed these
>> from the lists:
>>
>> http://cr.openjdk.java.net/~redestad/8081590/webrev.01
>
> Inclusion of the classes for the new API's seem most appropriate, as
> well as deleting non-existent classes. It is good to see no warning
> with the build or with -Xshare:dump in that regard.
>
> Thanks,
> David
While method handle support classes like these ones are generated
dynamically, they are stable, i.e. the code is always the same given a
name so it will be great if there is a way to store them in CDS to
improve the startup time by avoiding to generate such classes.
but this can be done in a follow up patch.
Rémi
More information about the hotspot-runtime-dev
mailing list