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

Calvin Cheung ccheung at openjdk.org
Wed Nov 13 23:15:47 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

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  @iklam comment

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

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

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

  Stats: 40 lines in 1 file changed: 8 ins; 27 del; 5 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