RFR(M): 8245113: JFR Recorder Thread and JFR Periodic Task Thread to run in thread state "_thread_in_native"

Erik Gahlin erik.gahlin at oracle.com
Tue Jun 9 17:09:10 UTC 2020


Looks good.

Erik

> On 6 Jun 2020, at 17:05, Markus Gronlund <markus.gronlund at oracle.com> wrote:
> 
> Greetings,
> 
> Please review this enhancement to let threads JFR Recorder Thread and JFR Periodic Task run in state _thread_in_native where possible.
> We do this to reduce the amount of time safepoint synchronizations have to wait, unnecessarily, for these threads to reach a safepoint poll site.
> 
> Enhancement: https://bugs.openjdk.java.net/browse/JDK-8245113  
> Webrev: http://cr.openjdk.java.net/~mgronlun/8245113/webrev/ 
> Testing: jdk_jfr, stress testing
> 
> Thanks
> Markus
> 
> PS. Includes some nits to fixup a previous changeset too (comments, spelling)



More information about the hotspot-jfr-dev mailing list