< prev index next >

src/share/vm/gc/shared/collectedHeap.cpp

Print this page

        

*** 277,287 **** thread->check_for_valid_safepoint_state(true); } } #endif ! HeapWord* CollectedHeap::allocate_from_tlab_slow(KlassHandle klass, Thread* thread, size_t size) { // Retain tlab and allocate object in shared space if // the amount free in the tlab is too large to discard. if (thread->tlab().free() > thread->tlab().refill_waste_limit()) { thread->tlab().record_slow_allocation(size); --- 277,287 ---- thread->check_for_valid_safepoint_state(true); } } #endif ! HeapWord* CollectedHeap::allocate_from_tlab_slow(Klass* klass, Thread* thread, size_t size) { // Retain tlab and allocate object in shared space if // the amount free in the tlab is too large to discard. if (thread->tlab().free() > thread->tlab().refill_waste_limit()) { thread->tlab().record_slow_allocation(size);
< prev index next >