306 { _agentList.add(new AgentLibrary(name, options, absolute_path, os_lib)); }
307
308 // Operation modi
309 static Mode _mode;
310 static void set_mode_flags(Mode mode);
311 static bool _java_compiler;
312 static void set_java_compiler(bool arg) { _java_compiler = arg; }
313 static bool java_compiler() { return _java_compiler; }
314
315 // -Xdebug flag
316 static bool _xdebug_mode;
317 static void set_xdebug_mode(bool arg) { _xdebug_mode = arg; }
318 static bool xdebug_mode() { return _xdebug_mode; }
319
320 // Used to save default settings
321 static bool _AlwaysCompileLoopMethods;
322 static bool _UseOnStackReplacement;
323 static bool _BackgroundCompilation;
324 static bool _ClipInlining;
325 static bool _CIDynamicCompilePriority;
326
327 // Tiered
328 static void set_tiered_flags();
329 static int get_min_number_of_compiler_threads();
330 // CMS/ParNew garbage collectors
331 static void set_parnew_gc_flags();
332 static void set_cms_and_parnew_gc_flags();
333 // UseParallel[Old]GC
334 static void set_parallel_gc_flags();
335 // Garbage-First (UseG1GC)
336 static void set_g1_gc_flags();
337 // GC ergonomics
338 static void set_conservative_max_heap_alignment();
339 static void set_use_compressed_oops();
340 static void set_use_compressed_klass_ptrs();
341 static void select_gc();
342 static void set_ergonomics_flags();
343 static void set_shared_spaces_flags();
344 // limits the given memory size by the maximum amount of memory this process is
345 // currently allowed to allocate or reserve.
|
306 { _agentList.add(new AgentLibrary(name, options, absolute_path, os_lib)); }
307
308 // Operation modi
309 static Mode _mode;
310 static void set_mode_flags(Mode mode);
311 static bool _java_compiler;
312 static void set_java_compiler(bool arg) { _java_compiler = arg; }
313 static bool java_compiler() { return _java_compiler; }
314
315 // -Xdebug flag
316 static bool _xdebug_mode;
317 static void set_xdebug_mode(bool arg) { _xdebug_mode = arg; }
318 static bool xdebug_mode() { return _xdebug_mode; }
319
320 // Used to save default settings
321 static bool _AlwaysCompileLoopMethods;
322 static bool _UseOnStackReplacement;
323 static bool _BackgroundCompilation;
324 static bool _ClipInlining;
325 static bool _CIDynamicCompilePriority;
326 static intx _Tier3InvokeNotifyFreqLog;
327 static intx _Tier4InvocationThreshold;
328
329 // Tiered
330 static void set_tiered_flags();
331 static int get_min_number_of_compiler_threads();
332 // CMS/ParNew garbage collectors
333 static void set_parnew_gc_flags();
334 static void set_cms_and_parnew_gc_flags();
335 // UseParallel[Old]GC
336 static void set_parallel_gc_flags();
337 // Garbage-First (UseG1GC)
338 static void set_g1_gc_flags();
339 // GC ergonomics
340 static void set_conservative_max_heap_alignment();
341 static void set_use_compressed_oops();
342 static void set_use_compressed_klass_ptrs();
343 static void select_gc();
344 static void set_ergonomics_flags();
345 static void set_shared_spaces_flags();
346 // limits the given memory size by the maximum amount of memory this process is
347 // currently allowed to allocate or reserve.
|