On Tue, 10 Mar 2026 07:03:16 GMT, David Holmes <[email protected]> wrote:

>> Hmmm, not sure that testing not exiting has any meaning - it is a race.
>
> } else if (includes(thread) && !thread->is_exiting()) {

It is a "race" in the sense a thread could proceed further down the exiting 
path after we check if it is exiting, but we definitely do not want to include 
threads that are known to be exiting - they are already "dead" from the Java 
perspective.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30105#discussion_r2909905359

Reply via email to