guarantee(l_om_in_use_count == in_use_count) failed

David Holmes david.holmes at oracle.com
Fri Jun 5 01:54:02 UTC 2020


Hi Martin,

That is a new assertion that is failing, relating to the async monitor 
deflation logic - JDK-8153224 - as you surmised.

We haven't seen any failures of this kind that I am aware of.

Please file a bug and assign to Dan (dcubed).

Thanks,
David

On 5/06/2020 3:22 am, Doerr, Martin wrote:
> Hi,
> 
> I've seen the following guarantee on PPC64le when a thread was about to exit:
> #  Internal Error (synchronizer.cpp:1677), pid=47037, tid=47409
> #  guarantee(l_om_in_use_count == in_use_count) failed: in-use counts don't match: l_om_in_use_count=2, in_use_count=1
> 
> Stack: [0x00003ffe13000000,0x00003ffe13200000],  sp=0x00003ffe131fe180,  free space=2040k
> Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
> V  [libjvm.so+0xe5e450]  ObjectSynchronizer::om_flush(Thread*)+0x710
> V  [libjvm.so+0xeb0cac]  Threads::remove(JavaThread*, bool)+0x3c
> V  [libjvm.so+0xeb6840]  JavaThread::exit(bool, JavaThread::ExitType)+0x830
> V  [libjvm.so+0xeb6aa0]  JavaThread::post_run()+0x30
> V  [libjvm.so+0xeb3d88]  Thread::call_run()+0x198
> V  [libjvm.so+0xcb11d4]  thread_native_entry(Thread*)+0x154
> C  [libpthread.so.0+0x8a64]  start_thread+0xf4
> 
> Issue doesn't seem to be reproducible with the proprietary test.
> Tip was
> http://hg.openjdk.java.net/jdk/jdk/rev/755ab9edca97
> 
> I guess it could be related to
> https://bugs.openjdk.java.net/browse/JDK-8153224
> 
> Is anybody aware of this issue?
> 
> Best regards,
> Martin
> 


More information about the hotspot-runtime-dev mailing list