equal
deleted
inserted
replaced
39 MemRegion _retained_filler; |
39 MemRegion _retained_filler; |
40 // In support of ergonomic sizing of PLAB's |
40 // In support of ergonomic sizing of PLAB's |
41 size_t _allocated; // in HeapWord units |
41 size_t _allocated; // in HeapWord units |
42 size_t _wasted; // in HeapWord units |
42 size_t _wasted; // in HeapWord units |
43 char tail[32]; |
43 char tail[32]; |
44 static const size_t FillerHeaderSize; |
44 static size_t FillerHeaderSize; |
45 static const size_t AlignmentReserve; |
45 static size_t AlignmentReserve; |
46 |
46 |
47 public: |
47 public: |
48 // Initializes the buffer to be empty, but with the given "word_sz". |
48 // Initializes the buffer to be empty, but with the given "word_sz". |
49 // Must get initialized with "set_buf" for an allocation to succeed. |
49 // Must get initialized with "set_buf" for an allocation to succeed. |
50 ParGCAllocBuffer(size_t word_sz); |
50 ParGCAllocBuffer(size_t word_sz); |