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

CTW ciTypeFlow.hpp:377 assert(is_reference(type),"must be reference type")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • hs17
    • hs17
    • hotspot
    • None
    • sparc
    • solaris_10

      How it slipped through our fingers? I and Tom very regularly running CTW with all jar files.
      But when I tried to run it today it failed even with jdk6FCS.

      % /java/re/jdk/7/promoted/all/b80/binaries/solaris-amd64/fastdebug/bin/java -d64 -XX:+CompileTheWorld -Xbootclasspath/p:/net/sqenfs-1.sfbay/export1/comp/vm/testbase/ctw/jars/ctw/jarfiles/plumhall.jar
      VM option '+CompileTheWorld'
      CompileTheWorld : Compiling all classes in /net/sqenfs-1.sfbay/export1/comp/vm/testbase/ctw/jars/ctw/jarfiles/plumhall.jar

      CompileTheWorld (1) : jvs/audit/appStub
      ...
      CompileTheWorld (92) : jvs/ch11/j114p11h_x
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/ciTypeFlow.hpp:377
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/ci/ciTypeFlow.hpp:377), pid=14879, tid=25
      # Error: assert(is_reference(type),"must be reference type")
      #
      # JRE version: 7.0-b80
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b07-fastdebug mixed mode solaris-amd64 compressed oops)
      # An error report file with more information is saved as:
      # /export/kvn/build/6919886/hs_err_pid14879.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Current thread is 25
      Dumping core ...
      Abort

      % hs_err hs_err_pid14879.log
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/ci/ciTypeFlow.hpp:377), pid=14879, tid=25
      # Error: assert(is_reference(type),"must be reference type")
      #
      # JRE version: 7.0-b80
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b07-fastdebug mixed mode solaris-amd64 compressed oops)
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
       
      --------------- T H R E A D ---------------
       
      Current thread (0x0000000001918800): JavaThread "CompilerThread0" daemon [_thread_in_native, id=25, stack(0xfffffd7ff39ea000,0xfffffd7ff3aea000)]
       
      Stack: [0xfffffd7ff39ea000,0xfffffd7ff3aea000], sp=0xfffffd7ff3ae6b90, free space=3f20000000000000001k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1fa1f25] void VMError::report(outputStream*) + 0x685
      V [libjvm.so+0x1fa2f8d] void VMError::report_and_die() + 0x4fd
      V [libjvm.so+0xb27fdb] void report_assertion_failure(const char*,int,const char*) + 0x5ab
      V [libjvm.so+0x8a55e0] void ciTypeFlow::StateVector::load_local_object(int) + 0x110
      V [libjvm.so+0x88cf6a] bool ciTypeFlow::StateVector::apply_one_bytecode(ciBytecodeStream*) + 0x346a
      V [libjvm.so+0x89c76a] void ciTypeFlow::flow_block(ciTypeFlow::Block*,ciTypeFlow::StateVector*,ciTypeFlow::JsrSet*) + 0x97a
      V [libjvm.so+0x89edaa] void ciTypeFlow::df_flow_types(ciTypeFlow::Block*,bool,ciTypeFlow::StateVector*,ciTypeFlow::JsrSet*) + 0x87a
      V [libjvm.so+0x89fb50] void ciTypeFlow::flow_types() + 0xa70
      V [libjvm.so+0x8a1ad0] void ciTypeFlow::do_flow() + 0xc0
      V [libjvm.so+0x821b56] ciTypeFlow*ciMethod::get_flow_analysis() + 0x136
      V [libjvm.so+0x776bbe] CallGenerator*CallGenerator::for_inline(ciMethod*,float) + 0x3e
      V [libjvm.so+0x9c0691] Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool) + 0x1201
      V [libjvm.so+0x770e29] void C2Compiler::compile_method(ciEnv*,ciMethod*,int) + 0xf9
      V [libjvm.so+0x9e28cd] void CompileBroker::invoke_compiler_on_method(CompileTask*) + 0x128d
      V [libjvm.so+0x9e09b8] void CompileBroker::compiler_thread_loop() + 0x1548
      V [libjvm.so+0x1e69f46] void compiler_thread_entry(JavaThread*,Thread*) + 0x16
      V [libjvm.so+0x1e63d47] void JavaThread::thread_main_inner() + 0x107
      V [libjvm.so+0x1e63ba6] void JavaThread::run() + 0x1d6
      V [libjvm.so+0x1a13ada] java_start + 0x66a
      C [libc.so.1+0xd704b] _thr_slot_offset+0x31b _thr_setup + 0x5b
      C [libc.so.1+0xd7280] _thr_slot_offset+0x550 _lwp_start + 0x0

      Current CompileTask:
      C2:389 !b jvs.ch11.j114p11h_x.<init>()V (89 bytes)

            never Tom Rodriguez
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: