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

Calvin Cheung ccheung at openjdk.org
Tue Nov 19 22:50:37 UTC 2024


> 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.

Calvin Cheung has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Erik's comment
 - Merge branch 'master' into 8341533-remove-coh-CDS-archives
 - @iklam comment
 - 8341553: Remove UseCompactObjectHeaders extra CDS archives

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22051/files
  - new: https://git.openjdk.org/jdk/pull/22051/files/a063f8c2..1766bc5f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22051&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22051&range=01-02

  Stats: 82258 lines in 1257 files changed: 38778 ins; 37461 del; 6019 mod
  Patch: https://git.openjdk.org/jdk/pull/22051.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22051/head:pull/22051

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


More information about the build-dev mailing list