[11u] RFR: 8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing

Jaroslav Bachorík jaroslav.bachorik at datadoghq.com
Mon Mar 2 16:19:00 UTC 2020


Bug: https://bugs.openjdk.java.net/browse/JDK-8233197
Webrev: http://cr.openjdk.java.net/~jbachorik/8233197/webrev/

Please, review this patch backporting JDK-8233197 to JDK 11u. The original
fix prevents a JVM crash when starting a JFR in agent premain.

The patch applies rather cleanly with only 2 conflicts in jfrRecord.cpp due
to changes in JFR args processing and method renamings (
http://cr.openjdk.java.net/~jbachorik/8233197/webrev/jfrRecorder.cpp.rej).

All jdk/jfr tests have been run successfully with this patch applied.

Thanks,

-JB-


More information about the jdk-updates-dev mailing list