Re: RFR: 8237499: JFR event for the location where a new thread starts
Denghui Dong
denghui.ddh at alibaba-inc.com
Sat Jan 18 13:25:32 UTC 2020
Hi Erik,
Do you mean that we should reuse EventThreadStart rather than a new event? It's a good idea, I will try it.
Thanks
Denghui Dong
------------------------------------------------------------------
From:Erik Gahlin <erik.gahlin at oracle.com>
Send Time:2020年1月18日(星期六) 21:12
To:董登辉(卓昂) <denghui.ddh at alibaba-inc.com>
Cc:hotspot-jfr-dev <hotspot-jfr-dev at openjdk.java.net>
Subject:Re: RFR: 8237499: JFR event for the location where a new thread starts
Hi Denghui,
This will be useful, but I wonder if we shouldn’t extend the Thread Start event with stack trace and the parent thread? It will require some additional logic, but it would be a cleaner solution.
Thanks
Erik
> On 18 Jan 2020, at 12:19, Denghui Dong <denghui.ddh at alibaba-inc.com> wrote:
>
> Hi,
>
> Could I have a review of a change that introduces an event for the location where a new thread starts.
>
> Summary:
> There is already an event for thread start(EventThreadStart), but this event is committed in the new thread,
> so users can't know the location where the thread starts, hence, it's necessary to introduce another event,
> it would be useful if the application exists thread leak problem.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8237499
> Webrev: http://cr.openjdk.java.net/~ddong/8237499/
>
> Thanks
> Denghui Dong
>
More information about the hotspot-jfr-dev
mailing list