8079275: Remove CollectedHeap::use_parallel_gc_threads

Reviewed-by: sjohanss, kbarrett
This commit is contained in:
Stefan Karlsson 2015-05-04 15:02:37 +02:00
parent 00f9d96a8b
commit 7ede39f590
5 changed files with 9 additions and 36 deletions

View file

@ -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