src/hotspot/share/gc/epsilon/epsilonHeap.cpp
changeset 59221 cc3a82fc7bcb
parent 59153 1152339c298a
child 59252 623722a6aeb9
equal deleted inserted replaced
59220:72e15d757e6c 59221:cc3a82fc7bcb
   210       size = (size_t) (ergo_tlab * EpsilonTLABElasticity);
   210       size = (size_t) (ergo_tlab * EpsilonTLABElasticity);
   211     }
   211     }
   212   }
   212   }
   213 
   213 
   214   // Always honor boundaries
   214   // Always honor boundaries
   215   size = MAX2(min_size, MIN2(_max_tlab_size, size));
   215   size = clamp(size, min_size, _max_tlab_size);
   216 
   216 
   217   // Always honor alignment
   217   // Always honor alignment
   218   size = align_up(size, MinObjAlignment);
   218   size = align_up(size, MinObjAlignment);
   219 
   219 
   220   // Check that adjustments did not break local and global invariants
   220   // Check that adjustments did not break local and global invariants