On Tue, 12 Nov 2024 23:27:27 GMT, Calvin Cheung <cche...@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
> 
> Update:
> 
> The classes*coh.jsa archives will be generated by default. In case the user 
> doesn't want to generate those archives, just specify the 
> --disable-cds-archive-coh option in the build configure command.

This pull request has now been integrated.

Changeset: acdbf833
Author:    Calvin Cheung <cche...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/acdbf83325296511e6d27cc696911d81f99b8063
Stats:     31 lines in 2 files changed: 29 ins; 1 del; 1 mod

8341553: Remove UseCompactObjectHeaders extra CDS archives

Reviewed-by: erikj, iklam, coleenp

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

PR: https://git.openjdk.org/jdk/pull/22051

Reply via email to