Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.hpp @ 10:28372612af5e
6362677: Change parallel GC collector default number of parallel GC threads.
Summary: Use the same default number of GC threads as used by ParNewGC and ConcMarkSweepGC (i.e., the 5/8th rule).
Reviewed-by: ysr, tonyp
author | jmasa |
---|---|
date | Fri, 22 Feb 2008 17:17:14 -0800 |
parents | a61af66fc99e |
children | d1605aabd0a1 37f87013dfd8 |
comparison
equal
deleted
inserted
replaced
9:173195ff483a | 10:28372612af5e |
---|---|
289 static bool _BackgroundCompilation; | 289 static bool _BackgroundCompilation; |
290 static bool _ClipInlining; | 290 static bool _ClipInlining; |
291 static bool _CIDynamicCompilePriority; | 291 static bool _CIDynamicCompilePriority; |
292 static intx _Tier2CompileThreshold; | 292 static intx _Tier2CompileThreshold; |
293 | 293 |
294 // GC processing | |
295 static int nof_parallel_gc_threads(); | |
296 // CMS/ParNew garbage collectors | 294 // CMS/ParNew garbage collectors |
297 static void set_parnew_gc_flags(); | 295 static void set_parnew_gc_flags(); |
298 static void set_cms_and_parnew_gc_flags(); | 296 static void set_cms_and_parnew_gc_flags(); |
299 // UseParallelGC | 297 // UseParallelGC |
300 static void set_parallel_gc_flags(); | 298 static void set_parallel_gc_flags(); |
383 static char* SharedArchivePath; | 381 static char* SharedArchivePath; |
384 | 382 |
385 public: | 383 public: |
386 // Parses the arguments | 384 // Parses the arguments |
387 static jint parse(const JavaVMInitArgs* args); | 385 static jint parse(const JavaVMInitArgs* args); |
386 // Check for consistency in the selection of the garbage collector. | |
387 static bool check_gc_consistency(); | |
388 // Check consistecy or otherwise of VM argument settings | 388 // Check consistecy or otherwise of VM argument settings |
389 static bool check_vm_args_consistency(); | 389 static bool check_vm_args_consistency(); |
390 // Used by os_solaris | 390 // Used by os_solaris |
391 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized); | 391 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized); |
392 | 392 |