RFR: 8299426: Heap dump does not contain virtual Thread stack references [v2]
Alex Menkov
amenkov at openjdk.org
Fri Dec 1 04:08:05 UTC 2023
On Thu, 30 Nov 2023 21:11:08 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> I wasn't thinking in terms of the scheduler somehow no longer references the virtual thread, but instead the program no longer referencing the scheduler (and also not referencing the virtual thread).
AFAIU unfinished unmounted virtual threads are referenced from other objects (they are parked on), so they can't be unreachable even is the application is not referencing them and the scheduler.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16665#issuecomment-1835422117
More information about the hotspot-runtime-dev
mailing list