< prev index next >

src/share/vm/gc/parallel/psPromotionLAB.inline.hpp

Print this page

        

*** 25,34 **** --- 25,35 ---- #ifndef SHARE_VM_GC_PARALLEL_PSPROMOTIONLAB_INLINE_HPP #define SHARE_VM_GC_PARALLEL_PSPROMOTIONLAB_INLINE_HPP #include "gc/parallel/psPromotionLAB.hpp" #include "gc/shared/collectedHeap.inline.hpp" + #include "utilities/align.hpp" HeapWord* PSYoungPromotionLAB::allocate(size_t size) { // Can't assert this, when young fills, we keep the LAB around, but flushed. // assert(_state != flushed, "Sanity"); HeapWord* obj = CollectedHeap::align_allocation_or_fail(top(), end(), SurvivorAlignmentInBytes);
< prev index next >