[8u] RFR: 8219566: JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero

Ekaterina Vergizova katya at azul.com
Tue Aug 4 13:35:33 UTC 2020


Hello,
I would like to backport JFR issue 8219566 to 8u.

JBS: https://bugs.openjdk.java.net/browse/JDK-8219566
Original patch: https://hg.openjdk.java.net/jdk/jdk/rev/cb8e16d6ff1e
Webrev for 8u: https://cr.openjdk.java.net/~apetushkov/jfr_backports_katya/8219566/webrev.00/

The patch applies almost cleanly except for the second hunk of jfrOptionSet.cpp.
It doesn't apply due to different context (different #include list in 8u), reapplied manually.

Tested with tier1 and jdk.jfr tests on Linux and Windows.
Manually tested with -XX:MaxJavaStackTraceDepth=0 option, java call stacks are collected successfully after the fix.

Thanks,
Ekaterina



More information about the jdk8u-dev mailing list