Skip to content

Commit 845e1ce

Browse files
author
Ivan Walulya
committed
8272983: G1 Add marking details to eager reclaim logging
Reviewed-by: tschatzl, ayang
1 parent c420530 commit 845e1ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3441,12 +3441,13 @@ class G1PrepareEvacuationTask : public AbstractGangTask {
34413441
_g1h->set_humongous_reclaim_candidate(index, false);
34423442
_g1h->register_region_with_region_attr(hr);
34433443
}
3444-
log_debug(gc, humongous)("Humongous region %u (object size " SIZE_FORMAT " @ " PTR_FORMAT ") remset " SIZE_FORMAT " code roots " SIZE_FORMAT " marked %d reclaim candidate %d type array %d",
3444+
log_debug(gc, humongous)("Humongous region %u (object size " SIZE_FORMAT " @ " PTR_FORMAT ") remset " SIZE_FORMAT " code roots " SIZE_FORMAT " marked (prev/next) %d/%d reclaim candidate %d type array %d",
34453445
index,
34463446
(size_t)cast_to_oop(hr->bottom())->size() * HeapWordSize,
34473447
p2i(hr->bottom()),
34483448
hr->rem_set()->occupied(),
34493449
hr->rem_set()->strong_code_roots_list_length(),
3450+
_g1h->concurrent_mark()->prev_mark_bitmap()->is_marked(hr->bottom()),
34503451
_g1h->concurrent_mark()->next_mark_bitmap()->is_marked(hr->bottom()),
34513452
_g1h->is_humongous_reclaim_candidate(index),
34523453
cast_to_oop(hr->bottom())->is_typeArray()

0 commit comments

Comments
 (0)