mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8209976: Improve iteration over non-JavaThreads
Add NonJavaThread and move NamedThread iteration to new class. Reviewed-by: eosterlund, coleenp, rkennke
This commit is contained in:
parent
1ddabdf0dc
commit
e1059f1301
8 changed files with 107 additions and 121 deletions
|
@ -72,7 +72,7 @@ extern Monitor* VMOperationRequest_lock; // a lock on Threads waiting fo
|
|||
extern Monitor* Safepoint_lock; // a lock used by the safepoint abstraction
|
||||
extern Monitor* Threads_lock; // a lock on the Threads table of active Java threads
|
||||
// (also used by Safepoints too to block threads creation/destruction)
|
||||
extern Mutex* NamedThreadsList_lock; // a lock on the NamedThreads list
|
||||
extern Mutex* NonJavaThreadsList_lock; // a lock on the NonJavaThreads list
|
||||
extern Monitor* CGC_lock; // used for coordination between
|
||||
// fore- & background GC threads.
|
||||
extern Monitor* STS_lock; // used for joining/leaving SuspendibleThreadSet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue