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

Metaspace corruption caused by incorrect memory size for MethodCounters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b165
    • CPU:
      x86
    • OS:
      linux

      Backports

        Description

        /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/build/linux-x86_64-normal-zero-fastdebug/jdk/bin/jlink -J-XX:+UseSerialGC -J-Xms32M -J-Xmx512M -J-XX:TieredStopAtLevel=1 --module-path /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/build/linux-x86_64-normal-zero-fastdebug/images/jmods --endian little --release-info /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/build/linux-x86_64-normal-zero-fastdebug/jdk/release --order-resources=**module-info.class,/java.base/java/**,/java.base/jdk/**,/java.base/sun/**,/java.base/com/**,/jdk.localedata/** --add-modules java.activation,java.annotations.common,java.base,java.compact1,java.compact2,java.compact3,java.compiler,java.corba,java.datatransfer,java.desktop,java.httpclient,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.scripting,java.se,java.se.ee,java.security.jgss,java.security.sasl,java.smartcardio,java.sql,java.sql.rowset,java.transaction,java.xml,java.xml.bind,java.xml.crypto,java.xml.ws,jdk.accessibility,jdk.attach,jdk.charsets,jdk.compiler,jdk.crypto.ec,jdk.crypto.pkcs11,jdk.desktop,jdk.dynalink,jdk.editpad,jdk.httpserver,jdk.internal.ed,jdk.internal.le,jdk.internal.opt,jdk.jartool,jdk.javadoc,jdk.jcmd,jdk.jconsole,jdk.jdeps,jdk.jdi,jdk.jdwp.agent,jdk.jlink,jdk.jshell,jdk.jsobject,jdk.jstatd,jdk.jvmstat,jdk.localedata,jdk.management,jdk.naming.dns,jdk.naming.rmi,jdk.net,jdk.pack200,jdk.policytool,jdk.rmic,jdk.scripting.nashorn,jdk.scripting.nashorn.shell,jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported,jdk.vm.ci,jdk.xml.bind,jdk.xml.dom,jdk.xml.ws,jdk.zipfs \
        > --keep-packaged-modules /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/build/linux-x86_64-normal-zero-fastdebug/images/jdk/jmods \
        > --output /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/build/linux-x86_64-normal-zero-fastdebug/images/jdk
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/os_linux_zero.cpp:260
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp:260), pid=19938, tid=19940
        # fatal error:
        #
        # /--------------------\
        # | segmentation fault |
        # \---\ /--------------/
        # /
        # [-] |\_/|
        # (+)=C |o o|__
        # | | =-*-=__\
        # OOO c_c_(___)
        #
        # JRE version: OpenJDK Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-12-06-171656.sgehwolf.openjdk9-hs)
        # Java VM: OpenJDK 64-Bit Zero VM (fastdebug 9-internal+0-2016-12-06-171656.sgehwolf.openjdk9-hs, interpreted mode, serial gc, linux-amd64)
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I" (or dumping to /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/core.19938)
        #
        # An error report file with more information is saved as:
        # /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs/hs_err_pid19938.log
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #
        Current thread is 19940
        Dumping core ...
        Aborted (core dumped

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aph Andrew Haley
                Reporter:
                sgehwolf Severin Gehwolf
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: