Re: RFR: 8u backport of JDK-8237499 JFR: Include stack trace in the ThreadStart event

Yang Yi qingfeng.yy at alibaba-inc.com
Tue Jan 26 02:17:09 UTC 2021


As mentioned[1] before, the minimized VM fails to build
after JDK-8237499[2], this backport[3] solves the problem,
it has only a few line changes.

Webrev: http://cr.openjdk.java.net/~ddong/yiyang/8239886/

----
[1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-January/013343.html
[2] https://bugs.openjdk.java.net/browse/JDK-8237499
[3] https://bugs.openjdk.java.net/browse/JDK-8239886
 ------------------Original Mail ------------------
Sender:Yang Yi <qingfeng.yy at alibaba-inc.com>
Send Date:Fri Jan 22 14:39:20 2021
Recipients:jdk8u-dev at openjdk.java.net <jdk8u-dev at openjdk.java.net>
Subject:RFR: 8u backport of JDK-8237499 JFR: Include stack trace in the ThreadStart event

Hi,

May I have a request backport of JDK-8237499?

JBS: https://bugs.openjdk.java.net/browse/JDK-8237499
Webrev: http://cr.openjdk.java.net/~ddong/yiyang/8237499/
testing: jdk/test/jdk/jfr/

It's useful for users to know where their threads start. This patch doesn't apply 
cleanly but is fairly trivial. The latest jdk8u-dev has no `Thread::current_or_null` 
function, just adding this function solves the problem.

This patch will cause another problem, e.g., the minimized VM fails to build, this 
problem has been solved by JDK-8239886, so a follow-up backport of 
JDK-8239886(one-line change) will be sent later.

Cheers,
Yang Yi


More information about the jdk8u-dev mailing list