292 static bool xdebug_mode() { return _xdebug_mode; }
293
294 // Used to save default settings
295 static bool _AlwaysCompileLoopMethods;
296 static bool _UseOnStackReplacement;
297 static bool _BackgroundCompilation;
298 static bool _ClipInlining;
299 static bool _CIDynamicCompilePriority;
300
301 // Tiered
302 static void set_tiered_flags();
303 // CMS/ParNew garbage collectors
304 static void set_parnew_gc_flags();
305 static void set_cms_and_parnew_gc_flags();
306 // UseParallel[Old]GC
307 static void set_parallel_gc_flags();
308 // Garbage-First (UseG1GC)
309 static void set_g1_gc_flags();
310 // GC ergonomics
311 static void set_use_compressed_oops();
312 static void set_ergonomics_flags();
313 static void set_shared_spaces_flags();
314 // limits the given memory size by the maximum amount of memory this process is
315 // currently allowed to allocate or reserve.
316 static julong limit_by_allocatable_memory(julong size);
317 // Setup HeapBaseMinAddress
318 static void set_heap_base_min_address();
319 // Setup heap size
320 static void set_heap_size();
321 // Based on automatic selection criteria, should the
322 // low pause collector be used.
323 static bool should_auto_select_low_pause_collector();
324
325 // Bytecode rewriting
326 static void set_bytecode_flags();
327
328 // Invocation API hooks
329 static abort_hook_t _abort_hook;
330 static exit_hook_t _exit_hook;
331 static vfprintf_hook_t _vfprintf_hook;
|
292 static bool xdebug_mode() { return _xdebug_mode; }
293
294 // Used to save default settings
295 static bool _AlwaysCompileLoopMethods;
296 static bool _UseOnStackReplacement;
297 static bool _BackgroundCompilation;
298 static bool _ClipInlining;
299 static bool _CIDynamicCompilePriority;
300
301 // Tiered
302 static void set_tiered_flags();
303 // CMS/ParNew garbage collectors
304 static void set_parnew_gc_flags();
305 static void set_cms_and_parnew_gc_flags();
306 // UseParallel[Old]GC
307 static void set_parallel_gc_flags();
308 // Garbage-First (UseG1GC)
309 static void set_g1_gc_flags();
310 // GC ergonomics
311 static void set_use_compressed_oops();
312 static void set_use_compressed_klass_ptrs();
313 static void set_ergonomics_flags();
314 static void set_shared_spaces_flags();
315 // limits the given memory size by the maximum amount of memory this process is
316 // currently allowed to allocate or reserve.
317 static julong limit_by_allocatable_memory(julong size);
318 // Setup HeapBaseMinAddress
319 static void set_heap_base_min_address();
320 // Setup heap size
321 static void set_heap_size();
322 // Based on automatic selection criteria, should the
323 // low pause collector be used.
324 static bool should_auto_select_low_pause_collector();
325
326 // Bytecode rewriting
327 static void set_bytecode_flags();
328
329 // Invocation API hooks
330 static abort_hook_t _abort_hook;
331 static exit_hook_t _exit_hook;
332 static vfprintf_hook_t _vfprintf_hook;
|