< prev index next >
src/hotspot/share/gc/parallel/psParallelCompact.cpp
Print this page
rev 60421 : [mq]: 8248401-stefank-review
*** 1042,1051 ****
--- 1042,1053 ----
// Update heap occupancy information which is used as input to the soft ref
// clearing policy at the next gc.
Universe::update_heap_info_at_gc();
+ Universe::heap()->next_whole_heap_examined();
+
bool young_gen_empty = eden_empty && from_space->is_empty() &&
to_space->is_empty();
PSCardTable* ct = heap->card_table();
MemRegion old_mr = heap->old_gen()->reserved();
*** 1066,1077 ****
#endif
if (ZapUnusedHeapArea) {
heap->gen_mangle_unused_area();
}
-
- Universe::heap()->next_whole_heap_examined();
}
HeapWord*
PSParallelCompact::compute_dense_prefix_via_density(const SpaceId id,
bool maximum_compaction)
--- 1068,1077 ----
< prev index next >