hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
void VM_G1CollectForAllocation::doit() {
{- -------------------------------------------
(1) G1CollectedHeap::satisfy_failed_allocation() を呼び出すだけ.
---------------------------------------- -}
G1CollectedHeap* g1h = G1CollectedHeap::heap();
_result = g1h->satisfy_failed_allocation(_word_size, &_pause_succeeded);
{- -------------------------------------------
(1) (assert)
---------------------------------------- -}
assert(_result == NULL || _pause_succeeded,
"if we get back a result, the pause should have succeeded");
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.