Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/threadLocalAllocBuffer.hpp @ 21811:22ac20a25842
8055479: TLAB stability
Reviewed-by: brutisso, stefank, ahgross
author | mgerdin |
---|---|
date | Thu, 09 Oct 2014 15:42:23 +0200 |
parents | cfd4aac53239 |
children | 7848fc12602b |
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.hpp Fri Sep 26 17:48:10 2014 -0400 +++ b/src/share/vm/memory/threadLocalAllocBuffer.hpp Thu Oct 09 15:42:23 2014 +0200 @@ -105,7 +105,7 @@ // do nothing. tlabs must be inited by initialize() calls } - static const size_t min_size() { return align_object_size(MinTLABSize / HeapWordSize); } + static const size_t min_size() { return align_object_size(MinTLABSize / HeapWordSize) + alignment_reserve(); } static const size_t max_size() { assert(_max_size != 0, "max_size not set up"); return _max_size; } static void set_max_size(size_t max_size) { _max_size = max_size; }