On Sat, 26 Jun 2021 17:48:15 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

> The crash happens because nmethod might become a zombie before it is enqueued 
> in JvmtiDeferredEventQueue or after it is dequeued from it. The crash is 
> reproduced by serviceability/jvmti/CompiledMethodLoad/Zombie.java. However, 
> it takes ~3K  runs to hit it. I verified the fix by running this test >100K 
> on each platform. Also, I verified that protecting in 'void 
> JvmtiDeferredEventQueue::post(JvmtiEnv* env)' is not enough.

Hi Leonid,
I looks good to me.
Thank you for addressing it!
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4602

Reply via email to