mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8039743: Use correct format specifier to print size_t values and pointers in the GC code
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com> Reviewed-by: jmasa, sjohanss
This commit is contained in:
parent
4bc795f2db
commit
d78446aa45
28 changed files with 101 additions and 87 deletions
|
@ -257,7 +257,7 @@ void SharedHeap::print_size_transition(outputStream* out,
|
|||
size_t bytes_before,
|
||||
size_t bytes_after,
|
||||
size_t capacity) {
|
||||
out->print(" %d%s->%d%s(%d%s)",
|
||||
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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue