JDK-8055946 : assert(result == NULL || result->is_oop()) failed: must be oop
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-08-25
  • Updated: 2015-06-03
  • Resolved: 2014-09-03
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 8 JDK 9
8u40Fixed 9 b31Fixed
Description
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/opt/jprt/T/P1/170355.amurillo/s/hotspot/src/share/vm/runtime/deoptimization.cpp:200), pid=12764, tid=2
#  assert(result == NULL || result->is_oop()) failed: must be oop
#
# JRE version: Java(TM) SE Runtime Environment (9.0-b27) (build 1.9.0-internal-fastdebug-201408221703.amurillo.jdk9-hs-2014-08-22-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-fastdebug-201408221703.amurillo.jdk9-hs-2014-08-22-b27 compiled mode solaris-sparc compressed oops)

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

Current thread (0x0000000100111800):  JavaThread "main" [_thread_in_Java, id=2, stack(0xffffffff7df00000,0xffffffff7e000000)]

Stack: [0xffffffff7df00000,0xffffffff7e000000],  sp=0xffffffff7dffde20,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x15d88bc]  void VMError::report_and_die()+0x58c
V  [libjvm.so+0xa5f980]  void report_vm_error(const char*,int,const char*,const char*)+0x70
V  [libjvm.so+0xa8164c]  Deoptimization::UnrollBlock*Deoptimization::fetch_unroll_info_helper(JavaThread*)+0x4b4
V  [libjvm.so+0xa810b0]  Deoptimization::UnrollBlock*Deoptimization::fetch_unroll_info(JavaThread*)+0x110
v  ~DeoptimizationBlob

[error occurred during error reporting (printing native stack), id 0xe0000000]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~DeoptimizationBlob
J 1139 C2 PopSynchronousTarg.c()J (75 bytes) @ 0xffffffff67ce701c [0xffffffff67ce6e60+0x1bc]
j  PopSynchronousTarg.p()V+27
j  PopSynchronousTarg.main([Ljava/lang/String;)V+28
v  ~StubRoutines::call_stub

Comments
regarding lack of test case: I tried to write one but found the most reliable way to reproduce the problem is to run one of the 2 affected tests with -Xcomp.
03-09-2014

ILW=assert failed; two different tests only debug builds so far; none so far=MLH=P4
27-08-2014