RFR: 8373723: Deadlock with JvmtiTagMap::flush_object_free_events() [v2]
Leonid Mesnik
lmesnik at openjdk.org
Thu Dec 18 04:22:52 UTC 2025
On Tue, 16 Dec 2025 23:08:24 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> The JvmtiTagMap::flush_object_free_events() method might be called from different threads.
>> The thread waits using lock until other thread posting events. The locking thread is in vm state doesn't allowing safepoints. While other thread posting events might request safepoints.
>>
>> The fix is to block thread to allow safepoints while waiting on the lock.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>
> applid David's suggestion
The failure reproduced with vmTestbase/nsk/jvmti/scenarios/allocation/AP04/ap04t001/TestDescription.java
Not very often though.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28839#issuecomment-3668292624
More information about the serviceability-dev
mailing list