244 static LegacyGCLogging _legacyGCLogging;
245
246 // Value of the conservative maximum heap alignment needed
247 static size_t _conservative_max_heap_alignment;
248
249 // Operation modi
250 static Mode _mode;
251
252 // preview features
253 static bool _enable_preview;
254
255 // Used to save default settings
256 static bool _AlwaysCompileLoopMethods;
257 static bool _UseOnStackReplacement;
258 static bool _BackgroundCompilation;
259 static bool _ClipInlining;
260
261 // GC ergonomics
262 static void set_conservative_max_heap_alignment();
263 static void set_use_compressed_oops();
264 static void set_use_compressed_klass_ptrs();
265 static jint set_ergonomics_flags();
266 // Limits the given heap size by the maximum amount of virtual
267 // memory this process is currently allowed to use. It also takes
268 // the virtual-to-physical ratio of the current GC into account.
269 static size_t limit_heap_by_allocatable_memory(size_t size);
270 // Setup heap size
271 static void set_heap_size();
272
273 // Bytecode rewriting
274 static void set_bytecode_flags();
275
276 // Invocation API hooks
277 static abort_hook_t _abort_hook;
278 static exit_hook_t _exit_hook;
279 static vfprintf_hook_t _vfprintf_hook;
280
281 // System properties
282 static bool add_property(const char* prop, PropertyWriteable writeable=WriteableProperty,
283 PropertyInternal internal=ExternalProperty);
284
|
244 static LegacyGCLogging _legacyGCLogging;
245
246 // Value of the conservative maximum heap alignment needed
247 static size_t _conservative_max_heap_alignment;
248
249 // Operation modi
250 static Mode _mode;
251
252 // preview features
253 static bool _enable_preview;
254
255 // Used to save default settings
256 static bool _AlwaysCompileLoopMethods;
257 static bool _UseOnStackReplacement;
258 static bool _BackgroundCompilation;
259 static bool _ClipInlining;
260
261 // GC ergonomics
262 static void set_conservative_max_heap_alignment();
263 static void set_use_compressed_oops();
264 static jint set_ergonomics_flags();
265 // Limits the given heap size by the maximum amount of virtual
266 // memory this process is currently allowed to use. It also takes
267 // the virtual-to-physical ratio of the current GC into account.
268 static size_t limit_heap_by_allocatable_memory(size_t size);
269 // Setup heap size
270 static void set_heap_size();
271
272 // Bytecode rewriting
273 static void set_bytecode_flags();
274
275 // Invocation API hooks
276 static abort_hook_t _abort_hook;
277 static exit_hook_t _exit_hook;
278 static vfprintf_hook_t _vfprintf_hook;
279
280 // System properties
281 static bool add_property(const char* prop, PropertyWriteable writeable=WriteableProperty,
282 PropertyInternal internal=ExternalProperty);
283
|