mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-26 13:27:59 +00:00
8153834: G1 Card table verification fails due to concurrent region cleanup
Reviewed-by: ehelin, tschatzl
This commit is contained in:
parent
e0d0903059
commit
89282b0c72
@ -4824,6 +4824,9 @@ void G1CollectedHeap::cleanUpCardTable() {
|
||||
|
||||
workers()->run_task(&cleanup_task);
|
||||
#ifndef PRODUCT
|
||||
// Need to synchronize with concurrent cleanup since it needs to
|
||||
// finish its card table clearing before we can verify.
|
||||
wait_while_free_regions_coming();
|
||||
_verifier->verify_card_table_cleanup();
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user