Relates :
|
|
Relates :
|
GlobalCounter critical sections are restricted to JavaThreads and the VMThread, because those are the kinds of threads for which we have a visitation protocol. There are a number of use-cases for critical sections in various GC threads, all of which are blocked by this limitation of GlobalCounter. To solve this, we need a way for GlobalCounter to visit (iterate over) all NamedThreads. And there are other use-cases for visiting all NamedThreads.
|