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

[lworld] ValueFieldInheritanceTest.java fails with -XX:-UseCompressedClassPointers

XMLWordPrintable

      When executed with -XX:-UseCompressedClassPointers, test ValueFieldInheritanceTest.java causes the VM to crash because of the following assert:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/open/src/hotspot/share/classfile/fieldLayoutBuilder.cpp:1019), pid=3025213, tid=3025214
      # assert(_layout->start()->next_block()->kind() == LayoutRawBlock::EMPTY) failed: Unexpected
      #
      # JRE version: Java(TM) SE Runtime Environment (23.0) (fastdebug build 23-lworld5ea-2024-07-01-1340491.frederic.parain.valhalla)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-lworld5ea-2024-07-01-1340491.frederic.parain.valhalla, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xc3c1f8] FieldLayoutBuilder::compute_inline_class_layout()+0x818
      #

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: