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

NMT: jcmd VM.native_memory scale=1 crashes target VM

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11

      Backports

        Description

        jcmd VM.native_memory scale=1 crashes target VM:

        # after -XX: or in .hotspotrc: SuppressErrorAt=/nmtCommon.cpp:42
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/shared/projects/openjdk/jdk-jdk/source/src/hotspot/share/services/nmtCommon.cpp:42), pid=24424, tid=24470
        # Error: ShouldNotReachHere()
        #
        # JRE version: OpenJDK Runtime Environment (16.0) (fastdebug build 16-internal+0-adhoc.thomas.source)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 16-internal+0-adhoc.thomas.source, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x1207e9a] NMTUtil::scale_name(unsigned long)+0x4a
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /shared/projects/openjdk/jdk-jdk/output-fastdebug/core.24424)
        #
        # An error report file with more information is saved as:
        # /shared/projects/openjdk/jdk-jdk/output-fastdebug/hs_err_pid24424.log
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #

        The reason is a missing case in a switch construct.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: