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

False failure of GenericTaskQueue::pop_local on architectures with weak memory model

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Backports

        Description

        Various GC crashes were observed on our Loongson CPUs which support a weak memory model.
        The crashes include (but not limit to) the following:
        ---------------------------------------------------------
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x000000ffeb261d04, pid=19632, tid=19649
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # V [libjvm.so+0x569d04] G1ParScanThreadState::trim_queue()+0x35c
        #

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGBUS (0xa) at pc=0x000000ffefb95350, pid=19674, tid=19676
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # V [libjvm.so+0x569350] G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markOopDesc*)+0xb0
        #

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGBUS (0xa) at pc=0x000000fff2fb2034, pid=19694, tid=19698
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # V [libjvm.so+0x352034] ClassLoaderData::oops_do(OopClosure*, int, bool)+0x7c
        #

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x000000ffeadc095c, pid=19898, tid=19902
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # V [libjvm.so+0x3a095c] oopDesc::size()+0x74
        #

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x000000fff5e8d24c, pid=20088, tid=20090
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # V [libjvm.so+0x56924c] G1ParScanThreadState::handle_evacuation_failure_par(oopDesc*, markOopDesc*)+0x15c
        #

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x000000fff0f14a78, pid=19730, tid=19731
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # j com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/JCTree;Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/comp/Attr$ResultInfo;)Lcom/sun/tools/javac/code/Type;+48 jdk.compiler@14-internal
        #

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x000000fff0db43e8, pid=19880, tid=19882
        #
        # JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
        # Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
        # Problematic frame:
        # V [libjvm.so+0xe243e8]
        #
        ---------------------------------------------------------

        These crashes can be reproduced with the following test on Loongson CPUs.
        ---------------------------------------------------------
        make test TEST="hotspot/jtreg/gc/g1/humongousObjects/TestHumongousClassLoader.java" CONF=release
        ---------------------------------------------------------

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jiefu Jie Fu
                  Reporter:
                  jiefu Jie Fu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: