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

-XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b48

      Backports

        Description

        $ jdk/8/promoted/latest/binaries/linux-amd64/bin/java -version
        java version "1.8.0"
        Java(TM) SE Runtime Environment (build 1.8.0-b132)
        Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)


        $ jdk/8/promoted/latest/binaries/linux-amd64/bin/java -XX:MaxMetaspaceSize=20m -Xshare:dump
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007fa8f0a35a71, pid=1698, tid=140363588384512
        #
        # JRE version: (8.0-b132) (build )
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b70 interpreted mode linux-amd64 compressed oops)
        # Problematic frame:
        # V [libjvm.so+0x820a71] Metachunk::allocate(unsigned long)+0x1
        #
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /jdk/jdk9/hotspot/make/hs_err_pid1698.log
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.sun.com/bugreport/crash.jsp
        #
        Aborted (core dumped)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ccheung Calvin Cheung
                Reporter:
                iklam Ioi Lam
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: