changeset 49945 | 9425445633cf |
parent 49829 | 19b137cb2d42 |
child 49946 | 2143feab681a |
--- a/src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp Wed May 02 02:36:17 2018 -0700 +++ b/src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp Wed May 02 13:44:46 2018 +0200 @@ -141,6 +141,9 @@ // Otherwise return 0; inline size_t compute_size(size_t obj_size); + // Compute the minimal needed tlab size for the given object size. + static inline size_t compute_min_size(size_t obj_size); + // Record slow allocation inline void record_slow_allocation(size_t obj_size);