8076076: Move SharedHeap::print_size_transition() into G1 code

Reviewed-by: tschatzl, mgerdin
This commit is contained in:
Bengt Rutisson 2015-03-27 09:28:47 +01:00
parent 2c63bc9175
commit fd46a24a3e
5 changed files with 17 additions and 32 deletions

View file

@ -102,17 +102,3 @@ void SharedHeap::post_initialize() {
}
void SharedHeap::ref_processing_init() {}
// Some utilities.
void SharedHeap::print_size_transition(outputStream* out,
size_t bytes_before,
size_t bytes_after,
size_t capacity) {
out->print(" " SIZE_FORMAT "%s->" SIZE_FORMAT "%s(" SIZE_FORMAT "%s)",
byte_size_in_proper_unit(bytes_before),
proper_unit_for_byte_size(bytes_before),
byte_size_in_proper_unit(bytes_after),
proper_unit_for_byte_size(bytes_after),
byte_size_in_proper_unit(capacity),
proper_unit_for_byte_size(capacity));
}