On Tue, 10 Oct 2023 00:09:53 GMT, Chris Plummer <cjplum...@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