src/hotspot/share/memory/dynamicArchive.cpp
changeset 54932 0f934da77390
parent 54927 1512d88b24c6
child 55134 72474808e305
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54931:13507abf416c 54932:0f934da77390
   509     address bottom = _last_verified_top;
   509     address bottom = _last_verified_top;
   510     address top = (address)(current_dump_space()->top());
   510     address top = (address)(current_dump_space()->top());
   511     size_t used = size_t(top - bottom) + _other_region_used_bytes;
   511     size_t used = size_t(top - bottom) + _other_region_used_bytes;
   512     int diff = int(estimate) - int(used);
   512     int diff = int(estimate) - int(used);
   513 
   513 
   514     log_info(cds)("%s estimate = %lu used = %lu; diff = %d bytes", which, estimate, used, diff);
   514     log_info(cds)("%s estimate = " SIZE_FORMAT " used = " SIZE_FORMAT "; diff = %d bytes", which, estimate, used, diff);
   515     assert(diff >= 0, "Estimate is too small");
   515     assert(diff >= 0, "Estimate is too small");
   516 
   516 
   517     _last_verified_top = top;
   517     _last_verified_top = top;
   518     _other_region_used_bytes = 0;
   518     _other_region_used_bytes = 0;
   519   }
   519   }