mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8159045: Remove const from methods returning size_t in threadLocalAllocBuffer.hpp
Reviewed-by: sjohanss, jmasa
This commit is contained in:
parent
680e1a3a28
commit
19c8ab3cdb
1 changed files with 3 additions and 3 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue