-
Enhancement
-
Resolution: Fixed
-
P4
-
12
-
b09
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8242998 | 11.0.8-oracle | Kim Barrett | P4 | Resolved | Fixed | b04 |
JDK-8236553 | 11.0.7 | Kim Barrett | P4 | Resolved | Fixed | b01 |
We sometimes want to iterate over all threads, or all non-JavaThreads, but there is presently no convient collection of the non-JavaThreads. Instead, Threads::non_java_threads_do obtains some threads from other components, and passes the closure off to still other componets.
JDK-8209850 added a list of NamedThreads and iteration over that list. However, there are non-JavaThread classes which are not NamedThread, so not included in that list. It would simplify things if we had a list that included all of the non-JavaThreads.
We could move the outlier Thread classes under NamedThread, but better would be to add a new NonJavaThread class and move the list management and iteration there.
We could move the outlier Thread classes under NamedThread, but better would be to add a new NonJavaThread class and move the list management and iteration there.
- backported by
-
JDK-8236553 Improve iteration over non-JavaThreads
- Resolved
-
JDK-8242998 Improve iteration over non-JavaThreads
- Resolved
- blocks
-
JDK-8209975 Some GCThreadLocalData not initialized
- Resolved
- duplicates
-
JDK-8195108 Automate or provide dynamic thread registration for SMR
- Closed
- relates to
-
JDK-8209850 Allow NamedThreads to use GlobalCounter critical sections
- Resolved