src/hotspot/share/utilities/globalDefinitions.hpp
changeset 55576 4d193e40e7af
parent 55252 6502d6a92fe2
child 57978 be5865bda5b9
equal deleted inserted replaced
55575:25165403c62e 55576:4d193e40e7af
   305   if (s >= K && (s % K) == 0) {
   305   if (s >= K && (s % K) == 0) {
   306     return s / K;
   306     return s / K;
   307   }
   307   }
   308   return s;
   308   return s;
   309 }
   309 }
       
   310 
       
   311 // Memory size transition formatting.
       
   312 
       
   313 #define HEAP_CHANGE_FORMAT "%s: " SIZE_FORMAT "K(" SIZE_FORMAT "K)->" SIZE_FORMAT "K(" SIZE_FORMAT "K)"
       
   314 
       
   315 #define HEAP_CHANGE_FORMAT_ARGS(_name_, _prev_used_, _prev_capacity_, _used_, _capacity_) \
       
   316   (_name_), (_prev_used_) / K, (_prev_capacity_) / K, (_used_) / K, (_capacity_) / K
   310 
   317 
   311 //----------------------------------------------------------------------------------------------------
   318 //----------------------------------------------------------------------------------------------------
   312 // VM type definitions
   319 // VM type definitions
   313 
   320 
   314 // intx and uintx are the 'extended' int and 'extended' unsigned int types;
   321 // intx and uintx are the 'extended' int and 'extended' unsigned int types;