Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8367375

[lworld] Crash when using CDS archive created with -XX:+UseCompactObjectHeaders and preview mode

XMLWordPrintable

      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

            coleenp Coleen Phillimore
            matsaave Matias Saavedra Silva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: