mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8057623: add an extension class for argument handling
Reviewed-by: brutisso, mgerdin, tschatzl
This commit is contained in:
parent
f8137659f5
commit
938374d5f9
3 changed files with 41 additions and 12 deletions
|
@ -467,12 +467,12 @@ class Arguments : AllStatic {
|
|||
static bool verify_MaxHeapFreeRatio(FormatBuffer<80>& err_msg, uintx max_heap_free_ratio);
|
||||
|
||||
// Check for consistency in the selection of the garbage collector.
|
||||
static bool check_gc_consistency();
|
||||
static bool check_gc_consistency_user(); // Check user-selected gc
|
||||
static inline bool check_gc_consistency_ergo(); // Check ergonomic-selected gc
|
||||
static void check_deprecated_gcs();
|
||||
static void check_deprecated_gc_flags();
|
||||
// Check consistency or otherwise of VM argument settings
|
||||
static bool check_vm_args_consistency();
|
||||
static bool check_vm_args_consistency_ext();
|
||||
// Check stack pages settings
|
||||
static bool check_stack_pages();
|
||||
// Used by os_solaris
|
||||
|
@ -615,4 +615,9 @@ bool Arguments::gc_selected() {
|
|||
return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC ||
|
||||
UseParNewGC || UseSerialGC;
|
||||
}
|
||||
|
||||
bool Arguments::check_gc_consistency_ergo() {
|
||||
return check_gc_consistency_user();
|
||||
}
|
||||
|
||||
#endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue