hotspot/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp
changeset 39278 f3f298ae1023
parent 39220 f08faf525113
--- a/hotspot/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp	Mon Jun 13 13:47:21 2016 -0400
+++ b/hotspot/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp	Wed Jun 08 13:24:36 2016 +0200
@@ -108,9 +108,9 @@
     // 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; }