mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8076076: Move SharedHeap::print_size_transition() into G1 code
Reviewed-by: tschatzl, mgerdin
This commit is contained in:
parent
2c63bc9175
commit
fd46a24a3e
5 changed files with 17 additions and 32 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue