Skip to content

Commit 24b7f81

Browse files
author
Ivan Walulya
committed
8349783: g1RemSetSummary.cpp:344:68: runtime error: member call on null pointer of type 'struct G1HeapRegion'
Reviewed-by: tschatzl, ayang
1 parent a637ccf commit 24b7f81

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/hotspot/share/gc/g1/g1RemSetSummary.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ class HRRSStatsIter: public G1HeapRegionClosure {
341341

342342
if (max_cardset_mem_sz_group() != nullptr) {
343343
G1CSetCandidateGroup* cset_group = max_cardset_mem_sz_group();
344-
G1HeapRegionRemSet* rem_set = max_rs_mem_sz_region()->rem_set();
345344
out->print_cr(" Collectionset Candidate Group with largest cardset = %u:(%u regions), "
346345
"size = %zu occupied = %zu",
347346
cset_group->group_id(), cset_group->length(),
@@ -389,7 +388,6 @@ void G1RemSetSummary::print_on(outputStream* out, bool show_thread_times) {
389388
}
390389
out->cr();
391390
}
392-
393391
HRRSStatsIter blk;
394392
G1CollectedHeap::heap()->heap_region_iterate(&blk);
395393
blk.do_cset_groups();

0 commit comments

Comments
 (0)