8326171: Serial: Remove VerifyGCLevel
Reviewed-by: stefank, tschatzl
This commit is contained in:
parent
bb675afae6
commit
56073cd1ea
@ -521,7 +521,7 @@ void SerialHeap::do_collection(bool full,
|
||||
|
||||
print_heap_before_gc();
|
||||
|
||||
if (run_verification && VerifyGCLevel <= 0 && VerifyBeforeGC) {
|
||||
if (run_verification && VerifyBeforeGC) {
|
||||
prepare_for_verify();
|
||||
prepared_for_verification = true;
|
||||
}
|
||||
@ -533,7 +533,7 @@ void SerialHeap::do_collection(bool full,
|
||||
full,
|
||||
size,
|
||||
is_tlab,
|
||||
run_verification && VerifyGCLevel <= 0,
|
||||
run_verification,
|
||||
do_clear_all_soft_refs);
|
||||
|
||||
if (size > 0 && (!is_tlab || _young_gen->supports_tlab_allocation()) &&
|
||||
@ -571,8 +571,7 @@ void SerialHeap::do_collection(bool full,
|
||||
|
||||
print_heap_before_gc();
|
||||
|
||||
if (!prepared_for_verification && run_verification &&
|
||||
VerifyGCLevel <= 1 && VerifyBeforeGC) {
|
||||
if (!prepared_for_verification && run_verification && VerifyBeforeGC) {
|
||||
prepare_for_verify();
|
||||
}
|
||||
|
||||
@ -598,7 +597,7 @@ void SerialHeap::do_collection(bool full,
|
||||
full,
|
||||
size,
|
||||
is_tlab,
|
||||
run_verification && VerifyGCLevel <= 1,
|
||||
run_verification,
|
||||
do_clear_all_soft_refs);
|
||||
|
||||
CodeCache::on_gc_marking_cycle_finish();
|
||||
|
@ -617,10 +617,6 @@
|
||||
"GC invoke count where +VerifyBefore/AfterGC kicks in") \
|
||||
range(0, max_uintx) \
|
||||
\
|
||||
product(int, VerifyGCLevel, 0, DIAGNOSTIC, \
|
||||
"Generation level at which to start +VerifyBefore/AfterGC") \
|
||||
range(0, 1) \
|
||||
\
|
||||
product(uint, MaxTenuringThreshold, 15, \
|
||||
"Maximum value for tenuring threshold") \
|
||||
range(0, markWord::max_age + 1) \
|
||||
|
Loading…
Reference in New Issue
Block a user