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

David Holmes david.holmes at oracle.com
Fri May 10 02:32:02 UTC 2019


Hi Markus,

On 5/05/2019 6:23 am, Markus Gronlund wrote:
> Greetings,
> 
> Please review the following patch to improve startup when using JFR:
> 
> Bug/Enh: https://bugs.openjdk.java.net/browse/JDK-8217089
> Webrev: http://cr.openjdk.java.net/~mgronlun/8217089/webrev01/
> 
> Summary:
> 
> Let the periodic event requestor thread lazy install os interface components instead of doing it eagerly as part of startup by the initial thread.

That all seems fine for single-threaded lazy initialization.

Only thing I'm unclear on is the addition of the potential to return 
OS_ERR. I can't see where these methods get called so can't tell if the 
callers are prepared to handle the error.

Thanks,
David
-----

> Thank you
> Markus
> 


More information about the hotspot-runtime-dev mailing list