8331175: Parallel: Remove VerifyRememberedSets
Reviewed-by: tschatzl, gli
This commit is contained in:
parent
549bc6a039
commit
70d3f22b70
src/hotspot/share/gc
test/hotspot/jtreg/gc/g1
@ -787,6 +787,9 @@ void ParallelScavengeHeap::verify(VerifyOption option /* ignored */) {
|
||||
|
||||
log_debug(gc, verify)("Eden");
|
||||
young_gen()->verify();
|
||||
|
||||
log_debug(gc, verify)("CardTable");
|
||||
card_table()->verify_all_young_refs_imprecise();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -419,11 +419,6 @@ bool PSScavenge::invoke_no_policy() {
|
||||
// Let the size policy know we're starting
|
||||
size_policy->minor_collection_begin();
|
||||
|
||||
// Verify no unmarked old->young roots
|
||||
if (VerifyRememberedSets) {
|
||||
heap->card_table()->verify_all_young_refs_imprecise();
|
||||
}
|
||||
|
||||
assert(young_gen->to_space()->is_empty(),
|
||||
"Attempt to scavenge with live objects in to_space");
|
||||
young_gen->to_space()->clear(SpaceDecorator::Mangle);
|
||||
@ -628,10 +623,6 @@ bool PSScavenge::invoke_no_policy() {
|
||||
DerivedPointerTable::update_pointers();
|
||||
#endif
|
||||
|
||||
if (VerifyRememberedSets) {
|
||||
heap->card_table()->verify_all_young_refs_imprecise();
|
||||
}
|
||||
|
||||
if (log_is_enabled(Debug, gc, heap, exit)) {
|
||||
accumulated_time()->stop();
|
||||
}
|
||||
|
@ -494,9 +494,6 @@
|
||||
product(bool, UseCondCardMark, false, \
|
||||
"Check for already marked card before updating card table") \
|
||||
\
|
||||
product(bool, VerifyRememberedSets, false, DIAGNOSTIC, \
|
||||
"Verify GC remembered sets") \
|
||||
\
|
||||
product(bool, DisableExplicitGC, false, \
|
||||
"Ignore calls to System.gc()") \
|
||||
\
|
||||
|
@ -36,7 +36,6 @@ package gc.g1;
|
||||
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+VerifyBeforeGC -XX:+VerifyDuringGC -XX:+VerifyAfterGC
|
||||
* -XX:+UseG1GC -XX:+G1VerifyHeapRegionCodeRoots
|
||||
* -XX:+VerifyRememberedSets
|
||||
* -XX:+G1VerifyBitmaps
|
||||
* gc.g1.TestVerificationInConcurrentCycle
|
||||
*/
|
||||
@ -55,7 +54,6 @@ package gc.g1;
|
||||
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+VerifyBeforeGC -XX:+VerifyDuringGC -XX:+VerifyAfterGC
|
||||
* -XX:+UseG1GC -XX:+G1VerifyHeapRegionCodeRoots
|
||||
* -XX:+VerifyRememberedSets
|
||||
* gc.g1.TestVerificationInConcurrentCycle
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user