JDK-8077029 : Assertion failure in UnexpectedDeoptimizationTest.java
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: sparc
  • Submitted: 2015-04-06
  • Updated: 2023-07-21
  • Resolved: 2023-07-21
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 10
10Resolved
Related Reports
Duplicate :  
Description
#  Internal Error (/opt/jprt/T/P1/184824.vkozlov/s/hotspot/src/share/vm/opto/output.cpp:2642), pid=12248, tid=16
#  assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo],def)) failed: before block local scheduling
#

Stack: [0xffffffff2af00000,0xffffffff2b000000],  sp=0xffffffff2affaf20,  free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x15e7cdc]  void VMError::report_and_die()+0x6c4;;  __1cHVMErrorOreport_and_die6M_v_+0x6c4
V  [libjvm.so+0xa76018]  void report_vm_error(const char*,int,const char*,const char*)+0x70;;  __1cPreport_vm_error6Fpkci11_v_+0x70
V  [libjvm.so+0x12cbab0]  void Scheduling::verify_good_schedule(Block*,const char*)+0x548;;  __1cKSchedulingUverify_good_schedule6MpnFBlock_pkc_v_+0x548
V  [libjvm.so+0x12cc7d0]  void Scheduling::ComputeRegisterAntidependencies(Block*)+0x30;;  __1cKSchedulingbFComputeRegisterAntidependencies6MpnFBlock__v_+0x30
V  [libjvm.so+0x12caebc]  void Scheduling::DoScheduling()+0x5e4;;  __1cKSchedulingMDoScheduling6M_v_+0x5e4
V  [libjvm.so+0x12c87c0]  void Compile::ScheduleAndBundle()+0x128;;  __1cHCompileRScheduleAndBundle6M_v_+0x128
V  [libjvm.so+0x12c1518]  void Compile::Output()+0x7f0;;  __1cHCompileGOutput6M_v_+0x7f0
V  [libjvm.so+0x9da5c8]  void Compile::Code_Gen()+0x610;;  __1cHCompileICode_Gen6M_v_+0x610
V  [libjvm.so+0x9d0cb8]  Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool,bool)+0x1498;;  __1cHCompile2t6MpnFciEnv_pnKC2Compiler_pnIciMethod_ibbb_v_+0x1498
V  [libjvm.so+0x87591c]  void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0xf4;;  __1cKC2CompilerOcompile_method6MpnFciEnv_pnIciMethod_i_v_+0xf4
V  [libjvm.so+0x9f0178]  void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x678;;  __1cNCompileBrokerZinvoke_compiler_on_method6FpnLCompileTask__v_+0x678
V  [libjvm.so+0x9ef428]  void CompileBroker::compiler_thread_loop()+0x410;;  __1cNCompileBrokerUcompiler_thread_loop6F_v_+0x410
V  [libjvm.so+0x152aab8]  void JavaThread::thread_main_inner()+0x268;;  __1cKJavaThreadRthread_main_inner6M_v_+0x268
V  [libjvm.so+0x152a7d8]  void JavaThread::run()+0x408;;  __1cKJavaThreadDrun6M_v_+0x408
V  [libjvm.so+0x12a67b4]  java_start+0x41c;;  java_start+0x41c
C  [libc.so.1+0xd8560]  _lwp_start+0x8;;  _lwp_start+0x8


Current CompileTask:
C2: 363959 6263    b        java.lang.invoke.InnerClassLambdaMetafactory::<init> (262 bytes)

Comments
ILW = assert; rare occurence; none = MLH = P4
05-07-2016

Cannot reproduce by running the test in a loop for 3 days (same machine the crash occured on). Cannot reproduce with replay file. dbx won't let me see the frame where the crash occur with the core file. Closing.
17-04-2015

Seen in compiler nightly http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=758180.JAVASE.NIGHTLY.VM.Comp_Baseline-NonTiered.2015-04-03-99&show-limit=0&filter= RULE compiler/codecache/stress/UnexpectedDeoptimizationTest.java Crash Internal Error ...output.cpp...assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo],def)) failed: before block local scheduling RULE compiler/codecache/stress/UnexpectedDeoptimizationTest.java ExitCode 6
06-04-2015