JDK-8217585 : assert(is_clean() || is_call_to_compiled() || is_call_to_interpreted() || is_optimized() || is_megamorphic()) failed: sanity check
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 13
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-01-22
  • Updated: 2019-03-28
  • Resolved: 2019-01-25
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 13
13Resolved
Related Reports
Duplicate :  
Description
KS crashes with the following assertion:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/scratch/mesos/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S72657/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bc092817-6428-4b96-a819-f136a9c8040b/runs/164d972f-66b0-4ce3-a2bf-9342c49ba8cd/workspace/open/src/hotspot/share/code/compiledIC.cpp:727), pid=59448, tid=22531
#  assert(is_clean() || is_call_to_compiled() || is_call_to_interpreted() || is_optimized() || is_megamorphic()) failed: sanity check
#
# JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-jdk13-jdk.118)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-jdk13-jdk.118, compiled mode, g1 gc, bsd-amd64)

Stack: [0x0000700008995000,0x0000700008a95000],  sp=0x0000700008a94620,  free space=1021k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.dylib+0xc1beeb]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5fb
V  [libjvm.dylib+0xc1c531]  VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x47
V  [libjvm.dylib+0x43035d]  report_vm_error(char const*, int, char const*, char const*, ...)+0xcc
V  [libjvm.dylib+0x3be638]  CompiledIC::verify()+0x88
V  [libjvm.dylib+0x1af7b7]  CompiledIC_at(RelocIterator*)+0xaf
V  [libjvm.dylib+0x3c0efa]  CompiledMethod::cleanup_inline_caches_impl(bool, bool)+0x286
V  [libjvm.dylib+0x3c1042]  CompiledMethod::cleanup_inline_caches(bool)+0x40
V  [libjvm.dylib+0xb42035]  NMethodSweeper::process_compiled_method(CompiledMethod*)+0x235
V  [libjvm.dylib+0xb4183f]  NMethodSweeper::sweep_code_cache()+0x20d
V  [libjvm.dylib+0xb4120d]  NMethodSweeper::possibly_sweep()+0x22f
V  [libjvm.dylib+0xb40fd9]  NMethodSweeper::sweeper_loop()+0x129
V  [libjvm.dylib+0xb93544]  JavaThread::thread_main_inner()+0x1fe
V  [libjvm.dylib+0xb93018]  JavaThread::run()+0x2ac
V  [libjvm.dylib+0xb8f763]  Thread::call_run()+0x149
V  [libjvm.dylib+0x9f5324]  thread_native_entry(Thread*)+0x149
C  [libsystem_pthread.dylib+0x3661]  _pthread_body+0x154
C  [libsystem_pthread.dylib+0x350d]  _pthread_body+0x0
C  [libsystem_pthread.dylib+0x2bf9]  thread_start+0xd
Comments
Looks similar to JDK-8216541.
23-01-2019

ILW = Verification assert during inline cache cleaning, intermittent with stress test at tier 6/7, no workaround = MMH = P3
23-01-2019