Integrated: 8373723: Deadlock with JvmtiTagMap::flush_object_free_events()

Leonid Mesnik lmesnik at openjdk.org
Thu Dec 18 04:30:04 UTC 2025


On Tue, 16 Dec 2025 03:34:47 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.

This pull request has now been integrated.

Changeset: 0146077a
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0146077a51635500de771e9cf2c9788ae931b7a0
Stats:     4 lines in 1 file changed: 3 ins; 1 del; 0 mod

8373723: Deadlock with JvmtiTagMap::flush_object_free_events()

Reviewed-by: dholmes, coleenp

-------------

PR: https://git.openjdk.org/jdk/pull/28839


More information about the serviceability-dev mailing list