Skip to content

Fix packaging of CDS archives

Merge Request Required Information

Summary of Changes

  • The JDK build includes CDS archives, classes.jsa and classes_nocoops.jsa already since JEP 341. Executing -Xshare:dump in the headless post script breaks AppCDS workflows using dynamic dumps since that relies on the base CDS archive from the JDK to be unchanged.

  • Following JDK-8005165, class data sharing can be enabled on all JIT architectures

  • Exclude classes_nocoops.jsa on i686 and arm32

  • Introduce vm_variant global for consistency with future JDK builds

Approved Development Ticket

All submissions to CentOS Stream must reference an approved ticket in Red Hat Jira. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.

  • Resolves: rhbz#2203412

Merge request reports

Loading