[ 
https://issues.apache.org/jira/browse/SOLR-15660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534038#comment-17534038
 ] 

Michael Gibney commented on SOLR-15660:
---------------------------------------

Mike, I think not exactly, though similar in some ways? The [failures I'm 
looking 
at|https://lists.apache.org/list?bui...@solr.apache.org:dfr=2022-4-1%7Cdto=2022-5-31:java.base@11.0.12/java.util.concurrent.ThreadPoolExecutor.tryTerminate]
 involve the Executor thread that notifies the threads (e.g., the main test 
thread) that are waiting on awaitTermination(). That notifying/signalAll thread 
is still Runnable, in the process of releasing the lock after having notified 
the threads awaiting executor termination. Presumably the notifying thread is 
about to die, but I think at the time it's being detected as leaked, it's 
actually RUNNABLE. All the stack traces in the builds@solr link above are quite 
similar ... search for {{tryTerminate()}} ...

More generally though, I do think these may be part of a category including the 
TERMINATED thread you asked about: threads that are technically "leaked", but 
in normal, harmless, unavoidable, transient ways.

> Remove universal 10 second test thread leak linger.
> ---------------------------------------------------
>
>                 Key: SOLR-15660
>                 URL: https://issues.apache.org/jira/browse/SOLR-15660
>             Project: Solr
>          Issue Type: Test
>          Components: Tests
>            Reporter: Mark Robert Miller
>            Assignee: Mark Robert Miller
>            Priority: Minor
>             Fix For: 9.0
>
>         Attachments: screenshot-1.png
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to