RFR: 8316233: VirtualThreadStart events should not be thread-filtered [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Oct 10 00:41:59 UTC 2023


On Tue, 10 Oct 2023 00:09:53 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Good catch, thanks. Forgot to remove this comment. Fixed now.
>
> I still would like to know how we might end up with a hidden virtual thread.

A JavaThread can be hidden, not a virtual thread.
For such a case, I'd treat it that a carrier thread is hidden.
The assert is to catch if it ever happens.
Do you think this assert is an overkill?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16019#discussion_r1351068632


More information about the serviceability-dev mailing list