hotspot/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp
changeset 35123 b0b89d83bcf5
parent 30764 fec48bf5a827
child 35548 8d3afe96ffea
equal deleted inserted replaced
35121:e8900e5763ff 35123:b0b89d83bcf5
    37 //            It is thread-private at any time, but maybe multiplexed over
    37 //            It is thread-private at any time, but maybe multiplexed over
    38 //            time across multiple threads. The park()/unpark() pair is
    38 //            time across multiple threads. The park()/unpark() pair is
    39 //            used to make it available for such multiplexing.
    39 //            used to make it available for such multiplexing.
    40 class ThreadLocalAllocBuffer: public CHeapObj<mtThread> {
    40 class ThreadLocalAllocBuffer: public CHeapObj<mtThread> {
    41   friend class VMStructs;
    41   friend class VMStructs;
       
    42   friend class JVMCIVMStructs;
    42 private:
    43 private:
    43   HeapWord* _start;                              // address of TLAB
    44   HeapWord* _start;                              // address of TLAB
    44   HeapWord* _top;                                // address after last allocation
    45   HeapWord* _top;                                // address after last allocation
    45   HeapWord* _pf_top;                             // allocation prefetch watermark
    46   HeapWord* _pf_top;                             // allocation prefetch watermark
    46   HeapWord* _end;                                // allocation end (excluding alignment_reserve)
    47   HeapWord* _end;                                // allocation end (excluding alignment_reserve)