RFR: 8210158: Accessorize JFR getEventWriter() intrinsics

Erik Österlund erik.osterlund at oracle.com
Thu Aug 30 08:22:12 UTC 2018


Hi,

The JFR getEventWriter() intrinsics have code in C1 and C2 that manually 
resolves jobjects. This should go through the Access API to make sure 
the necessary GC barriers are inserted.

I noticed this in an attempt to move JNI handle processing out of the 
pause (among other things). It crashed in kitchensink.

Bug:
https://bugs.openjdk.java.net/browse/JDK-8210158

Webrev:
http://cr.openjdk.java.net/~eosterlund/8210158/webrev.00

I tested the patch by running it, together with a patch that moves out 
JNI handle processing outside of the pause, through hs-tier1-3, as well 
as running it through Kitchensink24H (as it originally crashed in 
kitchensink).

Thanks,
/Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20180830/17e9620b/attachment.html>


More information about the hotspot-compiler-dev mailing list