1.1 --- a/src/share/vm/gc_implementation/shared/parGCAllocBuffer.hpp Thu Aug 07 18:09:12 2014 -0700 1.2 +++ b/src/share/vm/gc_implementation/shared/parGCAllocBuffer.hpp Mon Aug 04 10:48:10 2014 -0700 1.3 @@ -24,7 +24,7 @@ 1.4 1.5 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARGCALLOCBUFFER_HPP 1.6 #define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARGCALLOCBUFFER_HPP 1.7 - 1.8 +#include "gc_interface/collectedHeap.hpp" 1.9 #include "memory/allocation.hpp" 1.10 #include "memory/blockOffsetTable.hpp" 1.11 #include "memory/threadLocalAllocBuffer.hpp" 1.12 @@ -84,6 +84,9 @@ 1.13 } 1.14 } 1.15 1.16 + // Allocate the object aligned to "alignment_in_bytes". 1.17 + HeapWord* allocate_aligned(size_t word_sz, unsigned short alignment_in_bytes); 1.18 + 1.19 // Undo the last allocation in the buffer, which is required to be of the 1.20 // "obj" of the given "word_sz". 1.21 void undo_allocation(HeapWord* obj, size_t word_sz) {