RFR: 8233375: JFR emergency dump do not recover thread state

Yasumasa Suenaga suenaga at oss.nttdata.com
Fri Nov 1 08:08:42 UTC 2019


Hi all,

Please review this change:

   JBS: https://bugs.openjdk.java.net/browse/JDK-8233375
   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8233375/webrev.00/

If JFR is running when JVM crashes, JFR will dump data to hs_err_pid<PID>.jfr .
It would perform in prepare_for_emergency_dump().
However this function transits thread state to "_thread_in_vm".

This change has been tested on submit repo as mach5-one-ysuenaga-JDK-8233375-20191101-0651-6334762.
It failed at compiler/types/correctness/CorrectnessTest.java
However this test is for JIT compiler, and related issue has been reported as JDK-8225620.
So I think this patch can go through.


Thanks,

Yasumasa


More information about the hotspot-jfr-dev mailing list