On Thu, 3 Jun 2021 06:15:28 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

> Fixed a race condition between posting and enabling DynamicCodeGenerated 
> event.

Hi Leonid,
The fix looks good to me.
Thanks,
Serguei

src/hotspot/share/prims/jvmtiExport.cpp line 2293:

> 2291:   // jvmti thread state.
> 2292:   // The collector and/or state might be NULL if 
> JvmtiDynamicCodeEventCollector has been initialized
> 2293:   // while JVMTI_EVENT_DYNAMIC_CODE_GENERATED was disabled

Could you, reballance this comment a little bit and add a dot at the end?

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

Marked as reviewed by sspitsyn (Reviewer).

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

Reply via email to