447 static bool xdebug_mode() { return _xdebug_mode; } 448 449 // Used to save default settings 450 static bool _AlwaysCompileLoopMethods; 451 static bool _UseOnStackReplacement; 452 static bool _BackgroundCompilation; 453 static bool _ClipInlining; 454 static bool _CIDynamicCompilePriority; 455 static intx _Tier3InvokeNotifyFreqLog; 456 static intx _Tier4InvocationThreshold; 457 458 // Tiered 459 static void set_tiered_flags(); 460 // CMS/ParNew garbage collectors 461 static void set_parnew_gc_flags(); 462 static void set_cms_and_parnew_gc_flags(); 463 // UseParallel[Old]GC 464 static void set_parallel_gc_flags(); 465 // Garbage-First (UseG1GC) 466 static void set_g1_gc_flags(); 467 // GC ergonomics 468 static void set_conservative_max_heap_alignment(); 469 static void set_use_compressed_oops(); 470 static void set_use_compressed_klass_ptrs(); 471 static void select_gc(); 472 static void set_ergonomics_flags(); 473 static void set_shared_spaces_flags(); 474 // limits the given memory size by the maximum amount of memory this process is 475 // currently allowed to allocate or reserve. 476 static julong limit_by_allocatable_memory(julong size); 477 // Setup heap size 478 static void set_heap_size(); 479 480 // Bytecode rewriting 481 static void set_bytecode_flags(); 482 483 // Invocation API hooks 484 static abort_hook_t _abort_hook; 485 static exit_hook_t _exit_hook; 486 static vfprintf_hook_t _vfprintf_hook; | 447 static bool xdebug_mode() { return _xdebug_mode; } 448 449 // Used to save default settings 450 static bool _AlwaysCompileLoopMethods; 451 static bool _UseOnStackReplacement; 452 static bool _BackgroundCompilation; 453 static bool _ClipInlining; 454 static bool _CIDynamicCompilePriority; 455 static intx _Tier3InvokeNotifyFreqLog; 456 static intx _Tier4InvocationThreshold; 457 458 // Tiered 459 static void set_tiered_flags(); 460 // CMS/ParNew garbage collectors 461 static void set_parnew_gc_flags(); 462 static void set_cms_and_parnew_gc_flags(); 463 // UseParallel[Old]GC 464 static void set_parallel_gc_flags(); 465 // Garbage-First (UseG1GC) 466 static void set_g1_gc_flags(); 467 // Epsilon 468 static void set_epsilon_flags(); 469 // GC ergonomics 470 static void set_conservative_max_heap_alignment(); 471 static void set_use_compressed_oops(); 472 static void set_use_compressed_klass_ptrs(); 473 static void select_gc(); 474 static void set_ergonomics_flags(); 475 static void set_shared_spaces_flags(); 476 // limits the given memory size by the maximum amount of memory this process is 477 // currently allowed to allocate or reserve. 478 static julong limit_by_allocatable_memory(julong size); 479 // Setup heap size 480 static void set_heap_size(); 481 482 // Bytecode rewriting 483 static void set_bytecode_flags(); 484 485 // Invocation API hooks 486 static abort_hook_t _abort_hook; 487 static exit_hook_t _exit_hook; 488 static vfprintf_hook_t _vfprintf_hook; |