--- old/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp 2016-05-24 14:10:51.543306498 +0200 +++ new/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp 2016-05-24 14:10:51.415301341 +0200 @@ -110,6 +110,7 @@ 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 const size_t max_size_in_bytes() { return max_size() * BytesPerWord; } static void set_max_size(size_t max_size) { _max_size = max_size; } HeapWord* start() const { return _start; }