mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6362677: Change parallel GC collector default number of parallel GC threads
Use the same default number of GC threads as used by ParNewGC and ConcMarkSweepGC (i.e., the 5/8th rule). Reviewed-by: ysr, tonyp
This commit is contained in:
parent
74f243990c
commit
63f1de52fc
8 changed files with 174 additions and 81 deletions
|
@ -291,8 +291,6 @@ class Arguments : AllStatic {
|
|||
static bool _CIDynamicCompilePriority;
|
||||
static intx _Tier2CompileThreshold;
|
||||
|
||||
// GC processing
|
||||
static int nof_parallel_gc_threads();
|
||||
// CMS/ParNew garbage collectors
|
||||
static void set_parnew_gc_flags();
|
||||
static void set_cms_and_parnew_gc_flags();
|
||||
|
@ -385,6 +383,8 @@ class Arguments : AllStatic {
|
|||
public:
|
||||
// Parses the arguments
|
||||
static jint parse(const JavaVMInitArgs* args);
|
||||
// Check for consistency in the selection of the garbage collector.
|
||||
static bool check_gc_consistency();
|
||||
// Check consistecy or otherwise of VM argument settings
|
||||
static bool check_vm_args_consistency();
|
||||
// Used by os_solaris
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue