RFR(S): 8242524: Use different default CDS archives depending on UseCompressOops

Erik Joelsson erik.joelsson at oracle.com
Thu May 14 17:57:35 UTC 2020


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