RFR(S): 8242524: Use different default CDS archives depending on UseCompressOops
Yumin Qi
yumin.qi at oracle.com
Thu May 14 18:34:55 UTC 2020
Hi, Erik
Thanks for review!
Yumin
On 5/14/20 10:57 AM, Erik Joelsson wrote:
> Build changes look good.
>
> /Erik
>
> On 2020-05-14 10:40, Yumin Qi wrote:
>> Hi,
>>
>> Please review:
>> bug: 8242524: https://bugs.openjdk.java.net/browse/JDK-8242524
>> webrev: http://cr.openjdk.java.net/~minqi/2020/8242524/webrev-00/
>>
>> Summary: After 8232069, CDS can create shared archive with
>> -XX:-UseCompressedOops which also turned off by ZGC. The build with
>> cds enabled will create basic shared archive classes.jsa which is
>> default with UseCompressedOops turned on. With this change, the
>> second shared archive classes_nocoops.jsa will be created with
>> UseCompressedOops turned off. So now with cds enabled build, there
>> are two shared archive files will be generated: classes.jsa and
>> classes_nocoops.jsa. The basic shared archive will be chosen at
>> runtime based on flag setting that classes.jsa selected with
>> UseCompressedOops on, and classes_nocoops.jsa will be selected with
>> UseCompressedOops turned off.
>>
>> Tests: hs-tier1-4, tier1-2.
>>
>> Thanks
>> Yumin
More information about the build-dev
mailing list