JDK-8328886 : Lilliput: Build COH archives
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-03-25
  • Updated: 2024-03-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-lilliputUnresolved
Related Reports
Relates :  
Relates :  
Description
This is a breakout and a prerequisite for JDK-8325104.

In order to run with +COH and CDS enabled, and to enable tests testing this combination, we need to build archives with +COH too. 

This expands the number of archives built to four:

- classes.jsa, classes_nocoops.jsa
- classes_coh.jsa, classes_nocoops_coh.jsa

But note that the upcoming JEP "CDS Archived Object Streaming"  (JDK-8326035) will do away with the +-Coops distinction and possibly (though that's harder) later the +-COH distinction, too.

But that JEP has to be shipped first, and at first it will exist alongside the older, current, implementation it aims to replace. Until then I propose to build +-COH archives in addition to +-Coops archives.