JDK-8367375 : [lworld] Crash when using CDS archive created with -XX:+UseCompactObjectHeaders and preview mode
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-09-10
  • Updated: 2025-09-15
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-valhallaUnresolved
Related Reports
Relates :  
Description
Creating the archive classes_coh_valhalla.jsa with
java --enable-preview -XX:+UseCompactObjectHeaders -Xshare:dump
works with no issues, however using this archive with
java --enable-preview -Xshare:on -XX:+UseCompactObjectHeaders
leads to the following crash:

#  Internal Error (/home/opc/work/valhalla/open/src/hotspot/share/oops/inlineKlass.cpp:667), pid=3762285, tid=3762286
#  guarantee(prototype_header().is_inline_type()) failed: Prototype header is not inline type


Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1577 Date: 2025-09-11 21:21:22 +0000
11-09-2025