< prev index next >

hotspot/src/share/vm/runtime/arguments.cpp

Print this page
rev 7124 : 8073944: Simplify ArgumentsExt and remove unneeded functionallity
Reviewed-by: kbarrett, dholmes

*** 1570,1580 **** } } void Arguments::select_gc() { if (!gc_selected()) { ! ArgumentsExt::select_gc_ergonomically(); } } void Arguments::set_ergonomics_flags() { select_gc(); --- 1570,1580 ---- } } void Arguments::select_gc() { if (!gc_selected()) { ! select_gc_ergonomically(); } } void Arguments::set_ergonomics_flags() { select_gc();
*** 2065,2075 **** _max_heap_free_ratio = max_heap_free_ratio; return true; } // Check consistency of GC selection ! bool Arguments::check_gc_consistency_user() { check_gclog_consistency(); bool status = true; // Ensure that the user has not selected conflicting sets // of collectors. [Note: this check is merely a user convenience; // collectors over-ride each other so that only a non-conflicting --- 2065,2075 ---- _max_heap_free_ratio = max_heap_free_ratio; return true; } // Check consistency of GC selection ! bool Arguments::check_gc_consistency() { check_gclog_consistency(); bool status = true; // Ensure that the user has not selected conflicting sets // of collectors. [Note: this check is merely a user convenience; // collectors over-ride each other so that only a non-conflicting
*** 2231,2241 **** if (GCTimeLimit == 100) { // Turn off gc-overhead-limit-exceeded checks FLAG_SET_DEFAULT(UseGCOverheadLimit, false); } ! status = status && check_gc_consistency_user(); status = status && check_stack_pages(); if (CMSIncrementalMode) { if (!UseConcMarkSweepGC) { jio_fprintf(defaultStream::error_stream(), --- 2231,2241 ---- if (GCTimeLimit == 100) { // Turn off gc-overhead-limit-exceeded checks FLAG_SET_DEFAULT(UseGCOverheadLimit, false); } ! status = status && check_gc_consistency(); status = status && check_stack_pages(); if (CMSIncrementalMode) { if (!UseConcMarkSweepGC) { jio_fprintf(defaultStream::error_stream(),
*** 4004,4014 **** set_ergonomics_flags(); set_shared_spaces_flags(); // Check the GC selections again. ! if (!ArgumentsExt::check_gc_consistency_ergo()) { return JNI_EINVAL; } if (TieredCompilation) { set_tiered_flags(); --- 4004,4014 ---- set_ergonomics_flags(); set_shared_spaces_flags(); // Check the GC selections again. ! if (!check_gc_consistency()) { return JNI_EINVAL; } if (TieredCompilation) { set_tiered_flags();
< prev index next >