Mercurial > hg > truffle
comparison src/share/vm/memory/defNewGeneration.hpp @ 17727:cfd4aac53239
8030177: G1: Enable TLAB resizing
Reviewed-by: tschatzl, stefank, jmasa
author | brutisso |
---|---|
date | Mon, 27 Jan 2014 13:14:53 +0100 |
parents | 71180a6e5080 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
17726:085b304a1cc5 | 17727:cfd4aac53239 |
---|---|
237 HeapWord** end_addr() const; | 237 HeapWord** end_addr() const; |
238 | 238 |
239 // Thread-local allocation buffers | 239 // Thread-local allocation buffers |
240 bool supports_tlab_allocation() const { return true; } | 240 bool supports_tlab_allocation() const { return true; } |
241 size_t tlab_capacity() const; | 241 size_t tlab_capacity() const; |
242 size_t tlab_used() const; | |
242 size_t unsafe_max_tlab_alloc() const; | 243 size_t unsafe_max_tlab_alloc() const; |
243 | 244 |
244 // Grow the generation by the specified number of bytes. | 245 // Grow the generation by the specified number of bytes. |
245 // The size of bytes is assumed to be properly aligned. | 246 // The size of bytes is assumed to be properly aligned. |
246 // Return true if the expansion was successful. | 247 // Return true if the expansion was successful. |