JDK-8161080 : Crash with assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-07-08
  • Updated: 2016-07-11
  • Resolved: 2016-07-11
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 9
9Resolved
Related Reports
Duplicate :  
Description
This problem seems to have reappeared.  I assigned it to compiler
because this exactly same assert is mentioned in JDK-8150821.

However, the stack dump is very different so this may belong elsewhere.

#  Internal Error (hotspot/src/cpu/sparc/vm/frame_sparc.cpp:363), pid=11533, tid=24
#  assert(!((CompiledMethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
#

Current thread (0x00000001028b4000):  WatcherThread [stack: 0xffffffff58b00000,0xffffffff58c00000] [id=24]

Stack: [0xffffffff58b00000,0xffffffff58c00000],  sp=0xffffffff58bfeeb0,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1aa2068]  void VMError::report_and_die(int,const char*,const char*,void*,Thread*,unsigned char*,void*,void*,const char*,int,unsigned long)+0xaa8
V  [libjvm.so+0x1aa154c]  void VMError::report_and_die(Thread*,const char*,int,const char*,const char*,void*)+0x3c
V  [libjvm.so+0xcbf0c8]  void report_vm_error(const char*,int,const char*,const char*,...)+0x78
V  [libjvm.so+0xdb6d84]  void frame::init(long*,unsigned char*,CodeBlob*)+0x174
V  [libjvm.so+0x1a01a2c]  bool JavaThread::pd_get_top_frame(frame*,void*,bool,bool)+0x17c
V  [libjvm.so+0x10d7e68]  bool GetCallTrace::get_topframe(bool,void*,frame&)+0x18
V  [libjvm.so+0x10d81ac]  void OSThreadSampler::protected_task(const os::SuspendedThreadTaskContext&)+0x4c
V  [libjvm.so+0x16b3f80]  void os::SuspendedThreadTask::internal_do_task()+0x350
V  [libjvm.so+0x169bb18]  void os::SuspendedThreadTask::run()+0x98
V  [libjvm.so+0x10d8424]  bool ThreadSampleClosure::sample_thread(JavaThread*,JfrStackFrame*const,const unsigned)+0x64
V  [libjvm.so+0x10d8be8]  void ThreadSampler::task()+0x308
V  [libjvm.so+0x198a5c0]  void PeriodicTask::real_time_tick(int)+0x200
V  [libjvm.so+0x19e0924]  void WatcherThread::run()+0x244
V  [libjvm.so+0x16a80b4]  thread_native_entry+0x414
Comments
This is a duplicate of JDK-8029441 which was incorrectly closed as duplicate of JDK-8150821. I re-opened the bug and closed this.
11-07-2016