mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 08:28:27 +00:00
8339369: G1: TestVerificationInConcurrentCycle.java fails with "Missing rem set entry" when using "-XX:G1RSetUpdatingPauseTimePercent=0 -XX:G1UpdateBufferSize=2"
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
28de44da71
commit
96a0502d62
@ -172,7 +172,6 @@ public:
|
||||
|
||||
bool do_heap_region(G1HeapRegion* hr) {
|
||||
hr->prepare_for_full_gc();
|
||||
hr->uninstall_group_cardset();
|
||||
G1CollectedHeap::heap()->prepare_region_for_full_compaction(hr);
|
||||
_collector->before_marking_update_attribute_table(hr);
|
||||
return false;
|
||||
|
||||
@ -37,6 +37,8 @@ void G1FullGCResetMetadataTask::G1ResetMetadataClosure::reset_region_metadata(G1
|
||||
}
|
||||
|
||||
bool G1FullGCResetMetadataTask::G1ResetMetadataClosure::do_heap_region(G1HeapRegion* hr) {
|
||||
hr->uninstall_group_cardset();
|
||||
|
||||
uint const region_idx = hr->hrm_index();
|
||||
if (!_collector->is_compaction_target(region_idx)) {
|
||||
assert(!hr->is_free(), "all free regions should be compaction targets");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user