JDK-6915557 : assert(_gvn.type(l)->higher_equal(type),"must constrain OSR typestate") with debug build
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6u18
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-01-10
  • 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
6u21Fixed 7Fixed hs17Fixed
A crash is observed with fastdebug build:

# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/opto/parse1.cpp:159), pid=24032, tid=15
#  Error: assert(_gvn.type(l)->higher_equal(type),"must constrain OSR typestate")

Current thread (0x081fe000):  JavaThread "CompilerThread0" daemon [_thread_in_native, id=15, stack(0xb475a000,0xb47da000)]

Stack: [0xb475a000,0xb47da000],  sp=0xb47d8870,  free space=1fab47da000k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x16d867e];;  void VMError::report(outputStream*)+0x5be
V  [libjvm.so+0x16d965a];;  void VMError::report_and_die()+0x586
V  [libjvm.so+0x7ba249];;  void report_assertion_failure(const char*,int,const char*)+0x61
V  [libjvm.so+0x1313824];;  Node*Parse::check_interpreter_type(Node*,const Type*,SafePointNode*&)+0x1124
V  [libjvm.so+0x13146ef];;  void Parse::load_interpreter_state(Node*)+0xebb
V  [libjvm.so+0x1316382];;  Parse::Parse(JVMState*,ciMethod*,float)+0x876
V  [libjvm.so+0x53b466];;  JVMState*ParseGenerator::generate(JVMState*)+0xea
V  [libjvm.so+0x6d0a74];;  Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool)+0x10dc
V  [libjvm.so+0x53a226];;  void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0xe2
V  [libjvm.so+0x6e8963];;  void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x115b
V  [libjvm.so+0x6e6d5e];;  void CompileBroker::compiler_thread_loop()+0xc7e
V  [libjvm.so+0x15ef785];;  void compiler_thread_entry(JavaThread*,Thread*)+0x2d
V  [libjvm.so+0x15e5d73];;  void JavaThread::thread_main_inner()+0x18f
V  [libjvm.so+0x15e5a6d];;  void JavaThread::run()+0x37d
V  [libjvm.so+0x12d6b93];;  java_start+0x117
C  [libc.so.1+0xa7055];;  _thr_setup+0x4e
C  [libc.so.1+0xa7340];;  _lwp_start+0x0

EVALUATION ChangeSet=http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/da9559b49b84,ChangeRequest=6915557