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

VM crashes with "-Xint -XX:+UseCompiler" options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b120

      JDK 9 b66 crash(SIGSEGV) when ran simple HelloWorld with "-Xint -XX:+UseCompiler" options on Linux-x64 platform.

      Running next command give following result(hs_err_pid23122.log and replay_pid23122.log are attached):
      java -Xint -XX:+UseCompiler HelloWorld
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f8566590fe0, pid=23122, tid=0x00007f854d51f700
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0-b66) (build 1.9.0-ea-b66)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-b66 interpreted mode linux-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.so+0x638fe0] CodeHeap::allocate(unsigned long)+0x0
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c" (or dumping to /home/dmitry/bundles/jdk9/b66/bin/core.23122)
      #
      # An error report file with more information is saved as:
      # /home/dmitry/bundles/jdk9/b66/bin/hs_err_pid23122.log

      JDK 9-fastdebug hit assertion in this case:
      java -Xint -XX:+UseCompiler HelloWorld
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/codeCache.cpp:376
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/HUDSON/workspace/9-2-build-linux-amd64/jdk9/2755/hotspot/src/share/vm/code/codeCache.cpp:376), pid=23196, tid=0x00007f1a702ed700
      # assert(heap != __null) failed: heap is null
      #
      ...

      JDK 8u45 not affected.

        1. replay_pid23122.log
          69 kB
        2. hs_err_pid23122.log
          25 kB
        3. HelloWorld.java
          0.1 kB

            thartmann Tobias Hartmann
            ddmitriev Dmitry Dmitriev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: