| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8082741 | emb-9 | Stefan Karlsson | P4 | Resolved | Fixed | team | 
                    The function is implemented as:
static bool use_parallel_gc_threads() { return ParallelGCThreads > 0; }
and used mostly by CMS. You can't start CMS with -XX:ParallelGCThreads=0, so we don't need this function anymore.
We also use use_parallel_gc_threads in GenCollectedHeap::process_roots, but that code could be using the same conditional as the other parallel parts of the root processing code:
bool is_par = n_par_threads() > 0;
static bool use_parallel_gc_threads() { return ParallelGCThreads > 0; }
and used mostly by CMS. You can't start CMS with -XX:ParallelGCThreads=0, so we don't need this function anymore.
We also use use_parallel_gc_threads in GenCollectedHeap::process_roots, but that code could be using the same conditional as the other parallel parts of the root processing code:
bool is_par = n_par_threads() > 0;
- backported by
- 
                    JDK-8082741 Remove CollectedHeap::use_parallel_gc_threads -           
- Resolved
 
-