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

HS23/24: assert in GC_locker from PSOldGen::expand with -XX:+PrintGCDetails and Verbose

XMLWordPrintable

    • gc
    • b16
    • b51
    • generic
    • generic

        HS23 and HS24 crash with assert in GC_locker from PSOldGen::expand with -XX:+PrintGCDetails and -XX:Verbose

        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/gcLocker.hpp:94
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/HUDSON/workspace/jdk7u4-2-build-linux-amd64-product/jdk7u4/hotspot/src/share/vm/memory/gcLocker.hpp:94), pid=1854, tid=140719260915456
        # assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
        #
        # JRE version: 7.0_04-b13
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0-b16-fastdebug mixed mode linux-amd64 compressed oops)
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

        To reproduce:
        $JAVA_HOME/bin/java -XX:+UseParallelOldGC -XX:+PrintGC -XX:+Verbose Crasher

        Reproducer attached to CR.

        Issue was fixed in HS25 (JDK-8005857), but was not backported into HS23 and HS24. I'm opening new bug, because JDK-8005857 is already closed.

              tschatzl Thomas Schatzl
              fzhinkin Filipp Zhinkin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: