mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-23 11:58:03 +00:00
8292858: G1: Remove redundant check in G1FlushHumongousCandidateRemSets
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
6e248279cf
commit
3d0ab2b1aa
@ -1322,8 +1322,7 @@ class G1MergeHeapRootsTask : public WorkerTask {
|
||||
virtual bool do_heap_region(HeapRegion* r) {
|
||||
G1CollectedHeap* g1h = G1CollectedHeap::heap();
|
||||
|
||||
if (!r->is_starts_humongous() ||
|
||||
!g1h->region_attr(r->hrm_index()).is_humongous() ||
|
||||
if (!g1h->region_attr(r->hrm_index()).is_humongous() ||
|
||||
r->rem_set()->is_empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user