RFR(M): 8217089: JFR: Lazy install os interface components for improved startup

Markus Gronlund markus.gronlund at oracle.com
Tue May 7 09:07:52 UTC 2019


Hi Ralf,

Thanks for noticing. 

It's currently built with the premise that there is only a single thread executing this code, the periodic event requestor thread.

Thanks
Markus

-----Original Message-----
From: Schmelter, Ralf <ralf.schmelter at sap.com> 
Sent: den 7 maj 2019 10:28
To: Markus Gronlund <markus.gronlund at oracle.com>; Hotspot dev runtime <hotspot-runtime-dev at openjdk.java.net>; hotspot-jfr-dev at openjdk.java.net
Subject: RE: RFR(M): 8217089: JFR: Lazy install os interface components for improved startup

Hi Markus,

I'm not a reviewer, but shouldn't the lazy initialization code have proper memory barriers? Or is there another mechanism which avoids concurrent execution of that code?

Best regards,
Ralf


More information about the hotspot-runtime-dev mailing list