< prev index next >

src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp

Print this page
rev 56944 : imported patch 8233702-function-to-clamp-value-to-range
rev 56945 : imported patch 8233702-rerun-tests
rev 56946 : imported patch 8233702-kbarrett-review

@@ -249,11 +249,11 @@
 
     init_sz  = (Universe::heap()->tlab_capacity(thread()) / HeapWordSize) /
                       (nof_threads * target_refills());
     init_sz = align_object_size(init_sz);
   }
-  // We can't use clamp() here because min_size() and max_size() because some
+  // We can't use clamp() between min_size() and max_size() here because some
   // options based on them may still be inconsistent; inconsistencies between
   // those will be caught by following AfterMemoryInit constraint checking.
   init_sz = MIN2(MAX2(init_sz, min_size()), max_size());
   return init_sz;
 }
< prev index next >