src/share/vm/memory/threadLocalAllocBuffer.hpp

changeset 4129
22b8d3d181d9
parent 3900
d2a62e0f25eb
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
4128:f81a7c0c618d 4129:22b8d3d181d9
33 33
34 // ThreadLocalAllocBuffer: a descriptor for thread-local storage used by 34 // ThreadLocalAllocBuffer: a descriptor for thread-local storage used by
35 // the threads for allocation. 35 // the threads for allocation.
36 // It is thread-private at any time, but maybe multiplexed over 36 // It is thread-private at any time, but maybe multiplexed over
37 // time across multiple threads. The park()/unpark() pair is 37 // time across multiple threads. The park()/unpark() pair is
38 // used to make it avaiable for such multiplexing. 38 // used to make it available for such multiplexing.
39 class ThreadLocalAllocBuffer: public CHeapObj<mtThread> { 39 class ThreadLocalAllocBuffer: public CHeapObj<mtThread> {
40 friend class VMStructs; 40 friend class VMStructs;
41 private: 41 private:
42 HeapWord* _start; // address of TLAB 42 HeapWord* _start; // address of TLAB
43 HeapWord* _top; // address after last allocation 43 HeapWord* _top; // address after last allocation

mercurial