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

assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo],def)) failed: before block local scheduling on solaris-sparcv9

    XMLWordPrintable

    Details

      Description

      JDK-6776584: "Escape analysis on sparcv9: Error: before block local scheduling" was fixed in (JDK-8068881). But issue is still reproducible.

      Host: Sun Sparcv9 3600 MHz, 8 cores, 16G, Solaris / Solaris 11, sun4v
      VM options: -Xcomp -server -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:ReservedCodeCacheSize=256M

      The hs_err head is
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/jprt/T/P1/235228.amurillo/s/hotspot/src/share/vm/opto/output.cpp:2527), pid=44965, tid=30
      # assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo],def)) failed: before block local scheduling
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-07-01-235228.amurillo.jdk9-hs-2016-06-30-snapshot)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-07-01-235228.amurillo.jdk9-hs-2016-06-30-snapshot, compiled mode, tiered, compressed oops, g1 gc, solaris-sparc)
      # Core dump will be written. Default location: /export/home/aurora/sandbox/results/base_domain/core or core.44965
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -Xcomp -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:ReservedCodeCacheSize=256M -Xcomp -Djava.net.preferIPv6Addresses=false -Xmx8096M -XX:-PrintVMOptions -XX:+DisplayVMOutputToStderr -XX:+UsePerfData -Xlog:gc*:gc.log -XX:+DisableExplicitGC -XX:+PrintFlagsFinal -Djdk.launcher.addexports.0=java.base/sun.net.www.protocol.file=ALL-UNNAMED -Djdk.launcher.addexports.1=java.base/sun.net.www=ALL-UNNAMED -Djdk.launcher.addexports.2=java.base/sun.nio.fs=ALL-UNNAMED -Djdk.launcher.addexports.3=java.corba/com.sun.corba.se.spi.ior=ALL-UNNAMED -Djdk.launcher.addexports.4=java.corba/com.sun.corba.se.spi.transport=ALL-UNNAMED -Djdk.launcher.addexports.5=java.corba/com.sun.corba.se.spi.legacy.connection=ALL-UNNAMED -Djdk.launcher.addexports.6=java.corba/com.sun.corba.se.spi.ior.iiop=ALL-UNNAMED -Djdk.launcher.addexports.7=java.corba/com.sun.corba.se.spi.orb=ALL-UNNAMED -Djdk.launcher.addexports.8=java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED -Djdk.launcher.addexports.9=java.xml.bind/com.sun.xml.internal.bind.marshaller=ALL-UNNAMED -Djdk.launcher.addexports.10=jdk.javadoc/com.sun.tools.doclets.standard=ALL-UNNAMED -Djdk.launcher.addexports.11=java.corba/org.omg.TimeBase=ALL-UNNAMED -Djdk.launcher.addexports.12=java.corba/org.omg.CORBA.ValueDefPackage=ALL-UNNAMED -Djdk.launcher.addexports.13=java.base/sun.nio.ch=ALL-UNNAMED -Djdk.launcher.addexports.14=java.base/java.io=ALL-UNNAMED -Djdk.launcher.addexports.15=java.xml/com.sun.org.apache.xml.internal.resolver=ALL-UNNAMED -Djdk.launcher.addexports.16=java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED -Djdk.launcher.addexports.17=java.xml/com.sun.org.apache.xerces.internal.jaxp.validation=ALL-UNNAMED -Djdk.launcher.addexports.18=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED -Djdk.launcher.addexports.19=java.base/com.sun.net.ssl=ALL-UNNAMED -Djdk.launcher.addexports.20=jdk.rmic/sun.rmi.rmic=ALL-UNNAMED -Djdk.launcher.addexports.21=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED -Djdk.launcher.addexports.22=java.desktop/sun.swing=ALL-UNNAMED -Djdk.launcher.addexports.23=java.desktop/sun.awt.shell=ALL-UNNAMED -Djdk.launcher.addexports.24=java.desktop/sun.font=ALL-UNNAMED -Djdk.launcher.addmods=java.corba,jdk.rmic,java.xml.bind -Djdk.upgrade.module.path=/export/home/aurora/CommonData/bigapps_testbase/fakejdk9/up119 -Djdk.module.path=/export/home/aurora/CommonData/bigapps_testbase/fakejdk9/mp -Djdk.launcher.patch.0=java.corba=/export/home/aurora/CommonData/bigapps_testbase/fakejdk9/patches/java.corba.jar weblogic.Server

      Host: sca00dbd, Sparcv9 64 bit 3600 MHz, 8 cores, 15G, Oracle Solaris 11.2 SPARC
      Time: Sat Jul 2 07:55:37 2016 UTC elapsed time: 2537 seconds (0d 0h 42m 17s)

      --------------- T H R E A D ---------------

      Current thread (0x000000010061f000): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=30, stack(0xffffffff43400000,0xffffffff43500000)]


      Current CompileTask:
      C2:2537573 98672 !b 4 com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl::apply (408 bytes)

      Stack: [0xffffffff43400000,0xffffffff43500000], sp=0xffffffff434faa90, free space=1002k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1aa06c8] void VMError::report_and_die(int,const char*,const char*,void*,Thread*,unsigned char*,void*,void*,const char*,int,unsigned long)+0xaa8
      V [libjvm.so+0x1a9fbac] void VMError::report_and_die(Thread*,const char*,int,const char*,const char*,void*)+0x3c
      V [libjvm.so+0xcbe4f8] void report_vm_error(const char*,int,const char*,const char*,...)+0x78
      V [libjvm.so+0x16cf060] void Scheduling::verify_good_schedule(Block*,const char*)+0x6e0
      V [libjvm.so+0x16d0060] void Scheduling::ComputeRegisterAntidependencies(Block*)+0x30
      V [libjvm.so+0x16ce210] void Scheduling::DoScheduling()+0x650
      V [libjvm.so+0x16cb9ac] void Compile::ScheduleAndBundle()+0xdc
      V [libjvm.so+0x16c4bf4] void Compile::Output()+0x7f4
      V [libjvm.so+0xc10ff4] void Compile::Code_Gen()+0x624
      V [libjvm.so+0xc05964] Compile::Compile #Nvariant 1(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool,bool,DirectiveSet*)+0x1374
      V [libjvm.so+0xa11774] void C2Compiler::compile_method(ciEnv*,ciMethod*,int,DirectiveSet*)+0x124
      V [libjvm.so+0xc2b364] void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x714
      V [libjvm.so+0xc2a2c8] void CompileBroker::compiler_thread_loop()+0x308
      V [libjvm.so+0x19e1ac4] void JavaThread::thread_main_inner()+0x2e4
      V [libjvm.so+0x19e1740] void JavaThread::run()+0x370
      V [libjvm.so+0x16a6ed4] thread_native_entry+0x414
      C [libc.so.1+0xe4af0] _lwp_start+0x8

      .....

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phedlin Patric Hedlin
              Reporter:
              tpivovarova Tatiana Pivovarova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: