< prev index next >
src/hotspot/share/gc/g1/g1HotCardCache.cpp
Print this page
rev 56155 : [mq]: simplify_ce_closure
*** 97,108 ****
// The current worker has successfully claimed the chunk [start_idx..end_idx)
end_idx = MIN2(end_idx, _hot_cache_size);
for (size_t i = start_idx; i < end_idx; i++) {
CardValue* card_ptr = _hot_cache[i];
if (card_ptr != NULL) {
! bool result = cl->do_card_ptr(card_ptr, worker_i);
! assert(result, "Closure should always return true");
} else {
break;
}
}
}
--- 97,107 ----
// The current worker has successfully claimed the chunk [start_idx..end_idx)
end_idx = MIN2(end_idx, _hot_cache_size);
for (size_t i = start_idx; i < end_idx; i++) {
CardValue* card_ptr = _hot_cache[i];
if (card_ptr != NULL) {
! cl->do_card_ptr(card_ptr, worker_i);
} else {
break;
}
}
}
< prev index next >