mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8079275: Remove CollectedHeap::use_parallel_gc_threads
Reviewed-by: sjohanss, kbarrett
This commit is contained in:
parent
00f9d96a8b
commit
7ede39f590
5 changed files with 9 additions and 36 deletions
|
@ -598,13 +598,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
#endif
|
||||
|
||||
public:
|
||||
// This is a convenience method that is used in cases where
|
||||
// the actual number of GC worker threads is not pertinent but
|
||||
// only whether there more than 0. Use of this method helps
|
||||
// reduce the occurrence of ParallelGCThreads to uses where the
|
||||
// actual number may be germane.
|
||||
static bool use_parallel_gc_threads() { return ParallelGCThreads > 0; }
|
||||
|
||||
// Copy the current allocation context statistics for the specified contexts.
|
||||
// For each context in contexts, set the corresponding entries in the totals
|
||||
// and accuracy arrays to the current values held by the statistics. Each
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue