Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parNew/parGCAllocBuffer.hpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
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); |