On Fri, 17 Nov 2023 18:52:20 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
>> The `tlh` is used to protect any existing at this point JavaThread's from >> being terminated while it is set. >> My understanding is that there is no need to iterate over all threads in the >> list to get this protection. > > Ok. A comment indicating that purpose would be useful. Okay, thanks! I've added a comment: // Protects any existing JavaThread's from being terminated while it is set. // The FJP carrier thread compensating mechanism can create carrier threads concurrently. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16686#discussion_r1397847729