< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.cpp
Print this page
rev 53920 : imported patch 8218880-g1-crashes-periodic-gc-gclocker
rev 53921 : imported patch 8218880-shade-review
rev 53922 : [mq]: 8218880-kbarrett-review
*** 2111,2124 ****
// waiting in VM_G1CollectForAllocation::doit_epilogue().
FullGCCount_lock->notify_all();
}
void G1CollectedHeap::collect(GCCause::Cause cause) {
! attempt_collect(cause, true);
}
! bool G1CollectedHeap::attempt_collect(GCCause::Cause cause, bool retry_on_gc_failure) {
assert_heap_not_locked();
bool gc_succeeded;
bool should_retry_gc;
--- 2111,2124 ----
// waiting in VM_G1CollectForAllocation::doit_epilogue().
FullGCCount_lock->notify_all();
}
void G1CollectedHeap::collect(GCCause::Cause cause) {
! try_collect(cause, true);
}
! bool G1CollectedHeap::try_collect(GCCause::Cause cause, bool retry_on_gc_failure) {
assert_heap_not_locked();
bool gc_succeeded;
bool should_retry_gc;
< prev index next >