On Tue, 16 Dec 2025 23:08:24 GMT, Leonid Mesnik <[email protected]> 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

Reply via email to