mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +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
|
@ -573,8 +573,8 @@ void CardGeneration::compute_new_size() {
|
|||
maximum_desired_capacity / (double) K);
|
||||
gclog_or_tty->print_cr(" "
|
||||
" shrink_bytes: %.1fK"
|
||||
" current_shrink_factor: %d"
|
||||
" new shrink factor: %d"
|
||||
" current_shrink_factor: " SIZE_FORMAT
|
||||
" new shrink factor: " SIZE_FORMAT
|
||||
" _min_heap_delta_bytes: %.1fK",
|
||||
shrink_bytes / (double) K,
|
||||
current_shrink_factor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue