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

[premain] JavacBench crashes reliably with -XX:-TieredCompilation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-leyden
    • repo-leyden
    • hotspot

      Recording this bug sighting:

      $ rm -f app.cds*; build/linux-x86_64-server-fastdebug/images/jdk/bin/java -XX:CacheDataStore=app.cds -Xmx256m -Xms256m -XX:+UnlockExperimentalVMOptions -XX:+UseSerialGC -XX:-TieredCompilation -cp JavacBenchApp.jar -XX:+PrintCompilation JavacBenchApp 1000

      ...

         8974 W0.0 1482 !b java.lang.Class::getEnumConstantsShared (71 bytes)
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/shade/trunks/shipilev-leyden/src/hotspot/share/oops/constantPool.cpp:819), pid=119982, tid=119989
      # assert(cache() != nullptr) failed: 'index' is a rewritten index so this class must have been rewritten
      #
      # JRE version: OpenJDK Runtime Environment (24.0) (fastdebug build 24-internal-adhoc.shade.shipilev-leyden)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 24-internal-adhoc.shade.shipilev-leyden, mixed mode, sharing, compressed oops, compressed class ptrs, serial gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xab916d] ConstantPool::to_cp_index(int, Bytecodes::Code)+0x16d
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/shade/trunks/shipilev-leyden/core.119982)
      #
      # An error report file with more information is saved as:
      # /home/shade/trunks/shipilev-leyden/hs_err_pid119982.log
      #
      # Compiler replay data is saved as:
      # /home/shade/trunks/shipilev-leyden/replay_pid119982.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

            Unassigned Unassigned
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: