< prev index next >
src/hotspot/share/gc/g1/g1ConcurrentMark.cpp
Print this page
*** 1688,1698 ****
assert(!rp->discovery_enabled(), "Post condition");
}
{
GCTraceTime(Debug, gc, phases) debug("Weak Processing", _gc_timer_cm);
! WeakProcessor::unlink_or_oops_do(&g1_is_alive, &g1_keep_alive, &g1_drain_mark_stack);
}
if (has_overflown()) {
// We can not trust g1_is_alive if the marking stack overflowed
return;
--- 1688,1698 ----
assert(!rp->discovery_enabled(), "Post condition");
}
{
GCTraceTime(Debug, gc, phases) debug("Weak Processing", _gc_timer_cm);
! WeakProcessor::weak_oops_do(&g1_is_alive, &g1_keep_alive, &g1_drain_mark_stack);
}
if (has_overflown()) {
// We can not trust g1_is_alive if the marking stack overflowed
return;
< prev index next >