hotspot/src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    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);