comparison src/share/vm/memory/threadLocalAllocBuffer.inline.hpp @ 1983:c760f78e0a53

7003125: precompiled.hpp is included when precompiled headers are not used Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies. Reviewed-by: coleenp, kvn
author stefank
date Wed, 01 Dec 2010 15:04:06 +0100
parents f95d63e2154a
children 78bbf4d43a14
comparison
equal deleted inserted replaced
1982:6a2d73358ff7 1983:c760f78e0a53
26 #define SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_INLINE_HPP 26 #define SHARE_VM_MEMORY_THREADLOCALALLOCBUFFER_INLINE_HPP
27 27
28 #include "gc_interface/collectedHeap.hpp" 28 #include "gc_interface/collectedHeap.hpp"
29 #include "memory/threadLocalAllocBuffer.hpp" 29 #include "memory/threadLocalAllocBuffer.hpp"
30 #include "runtime/atomic.hpp" 30 #include "runtime/atomic.hpp"
31 #include "runtime/thread.hpp"
31 #include "utilities/copy.hpp" 32 #include "utilities/copy.hpp"
32 33
33 inline HeapWord* ThreadLocalAllocBuffer::allocate(size_t size) { 34 inline HeapWord* ThreadLocalAllocBuffer::allocate(size_t size) {
34 invariants(); 35 invariants();
35 HeapWord* obj = top(); 36 HeapWord* obj = top();