equal
deleted
inserted
replaced
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) |