JDK-6714694 : assertion in 64bit server vm (store->find_edge(load) != -1,"missing precedence edge") with COOPs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs13,6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2008-06-14
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
Related Reports
Duplicate :  
Relates :  
Description
64bit server vm fails with
#  Internal Error (/tmp/jprt-jprtadm/temp/P1/B/221709.kvn/source/src/share/vm/opto/gcm.cpp:672), pid=31657, tid=1084266816
#  Error: assert(store->find_edge(load) != -1,"missing precedence edge")

in -Xcomp mode with fastdebug build in case Compressed oops are enabled.

The failure is reproduced only with latest hs13-b02 and on linux-amd64.
It is not reproduced with hs13-b01 which is part of jdk7b28.
It is nor reproduced on solaris-sparcv9 (didn't try on windows-amd64 and solaris-amd64).


Stack trace is:
---------------  T H R E A D  ---------------

Current thread (0x00000000551a2000):  JavaThread "CompilerThread1" daemon [_thread_in_native, id=31677, st
ack(0x0000000040909000,0x0000000040a0a000)]

Stack: [0x0000000040909000,0x0000000040a0a000],  sp=0x0000000040a05480,  free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xa4cc22];;  VMError::report_and_die()+0x262
V  [libjvm.so+0x4075de];;  report_assertion_failure(char const*, int, char const*)+0x6e
V  [libjvm.so+0x493c6d];;  PhaseCFG::insert_anti_dependences(Block*, Node*, bool)+0x64d
V  [libjvm.so+0x4961f5];;  PhaseCFG::schedule_late(VectorSet&, Node_List&)+0x475
V  [libjvm.so+0x496a10];;  PhaseCFG::GlobalCodeMotion(Matcher&, unsigned int, Node_List&)+0x4b0
V  [libjvm.so+0x3a2787];;  Compile::Code_Gen()+0x3b7
V  [libjvm.so+0x39c82c];;  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0xacc
V  [libjvm.so+0x2cdcec];;  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x8c
V  [libjvm.so+0x3acc89];;  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x4c9
V  [libjvm.so+0x3ac09f];;  CompileBroker::compiler_thread_loop()+0x55f
V  [libjvm.so+0x9ea583];;  compiler_thread_entry(JavaThread*, Thread*)+0x13
V  [libjvm.so+0x9df9e5];;  JavaThread::thread_main_inner()+0xd5
V  [libjvm.so+0x9df8ad];;  JavaThread::run()+0xfd
V  [libjvm.so+0x85ee46];;  java_start(Thread*)+0x166


Current CompileTask:
C2:295   b  Tester_Class_3.<init>()V (381 bytes)

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000055312000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=31680, stack(0x0000000040a0a000,0x0000000040b0b000)]
=>0x00000000551a2000 JavaThread "CompilerThread1" daemon [_thread_in_native, id=31677, stack(0x0000000040909000,0x0000000040a0a000)]
  0x000000005519d000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=31676, stack(0x0000000040808000,0x0000000040909000)]
  0x000000005519b000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=31675, stack(0x0000000040707000,0x0000000040808000)]
  0x0000000055167000 JavaThread "Finalizer" daemon [_thread_blocked, id=31670, stack(0x0000000040606000,0x0000000040707000)]
  0x0000000055165000 JavaThread "Reference Handler" daemon [_thread_blocked, id=31669, stack(0x0000000040505000,0x0000000040606000)]
  0x0000000055093000 JavaThread "main" [_thread_blocked, id=31658, stack(0x0000000040101000,0x0000000040202000)]

Other Threads:
  0x000000005515d000 VMThread [stack: 0x0000000040404000,0x0000000040505000] [id=31668]
  0x000000005536d000 WatcherThread [stack: 0x0000000040b0b000,0x0000000040c0c000] [id=31687]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 17920K, used 307K [0x00002aaadca00000, 0x00002aaadde00000, 0x00002aaaf0aa0000)
  eden space 15360K, 2% used [0x00002aaadca00000,0x00002aaadca4ccd8,0x00002aaadd900000)
  from space 2560K, 0% used [0x00002aaaddb80000,0x00002aaaddb80000,0x00002aaadde00000)
  to   space 2560K, 0% used [0x00002aaadd900000,0x00002aaadd900000,0x00002aaaddb80000)
 PSOldGen        total 41024K, used 0K [0x00002aaab48a0000, 0x00002aaab70b0000, 0x00002aaadca00000)
  object space 41024K, 0% used [0x00002aaab48a0000,0x00002aaab48a0000,0x00002aaab70b0000)
 PSPermGen       total 21248K, used 2813K [0x00002aaaaf4a0000, 0x00002aaab0960000, 0x00002aaab48a0000)
  object space 21248K, 13% used [0x00002aaaaf4a0000,0x00002aaaaf75f558,0x00002aaab0960000)

Comments
EVALUATION The method raise_LCA_above_marks() terminates LCA search early when mid->dom_lca(LCA) == mid which is already marked as visited.
20-06-2008