RFR: 8373723: Deadlock with JvmtiTagMap::flush_object_free_events() [v2]
Coleen Phillimore
coleenp at openjdk.org
Thu Dec 18 02:08:32 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
This looks good. Was there a test case that can be added? Or is it noreg-hard?
-------------
Marked as reviewed by coleenp (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28839#pullrequestreview-3590388366
More information about the serviceability-dev
mailing list