equal
deleted
inserted
replaced
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; |