hotspot/src/share/vm/memory/threadLocalAllocBuffer.hpp
changeset 13925 37f75ba502b1
parent 13195 be27e1b6a4b9
child 13963 e5b53c306fb5
equal deleted inserted replaced
13924:159131321ed4 13925:37f75ba502b1
    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