RFR: 8341553: Remove UseCompactObjectHeaders extra CDS archives [v2]

Ioi Lam iklam at openjdk.org
Thu Nov 14 05:20:38 UTC 2024


On Wed, 13 Nov 2024 23:15:47 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> With this change, the compact object headers related CDS archives (`classes_coh.jsa` and `classes_nocoops_coh.jsa`) will not be generated by default. If the user needs them, the user can specify the `--enable-cds-archive-coh=yes` build configure option.
>> This change also modified the TestDefaultArchiveLoading.java test.
>> 
>> Testing:
>> 
>> - default build config: classes*coh.jsa CDS archives are not generated
>> - build configured with `--enable-cds-archive-coh=yes`: classes*coh.jsa CDS archives are generated
>> - build configured with `--enable-cds-archive-coh=no`: classes*coh.jsa CDS archives are not generated
>> - passed tiers 1 and 3 tests
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   @iklam comment

Test changes look good.

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22051#pullrequestreview-2435066504


More information about the build-dev mailing list