8159045: Remove const from methods returning size_t in threadLocalAllocBuffer.hpp

Reviewed-by: sjohanss, jmasa
This commit is contained in:
Erik Helin 2016-06-08 13:24:36 +02:00
parent 680e1a3a28
commit 19c8ab3cdb

View File

@ -108,9 +108,9 @@ public:
// do nothing. tlabs must be inited by initialize() calls
}
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 size_t min_size() { return align_object_size(MinTLABSize / HeapWordSize) + alignment_reserve(); }
static size_t max_size() { assert(_max_size != 0, "max_size not set up"); return _max_size; }
static 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; }