changeset 39278:f3f298ae1023

8159045: Remove const from methods returning size_t in threadLocalAllocBuffer.hpp Reviewed-by: sjohanss, jmasa
author ehelin
date Wed, 08 Jun 2016 13:24:36 +0200
parents 460f34bbd0c0
children 2a8201076dd6 86907793a181
files hotspot/src/share/vm/gc/shared/threadLocalAllocBuffer.hpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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; }