mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -888,7 +888,9 @@ void MutableNUMASpace::print_on(outputStream* st) const {
|
|||
for (int i = 0; i < lgrp_spaces()->length(); i++) {
|
||||
lgrp_spaces()->at(i)->accumulate_statistics(page_size());
|
||||
}
|
||||
st->print(" local/remote/unbiased/uncommitted: %dK/%dK/%dK/%dK, large/small pages: %d/%d\n",
|
||||
st->print(" local/remote/unbiased/uncommitted: " SIZE_FORMAT "K/"
|
||||
SIZE_FORMAT "K/" SIZE_FORMAT "K/" SIZE_FORMAT
|
||||
"K, large/small pages: " SIZE_FORMAT "/" SIZE_FORMAT "\n",
|
||||
ls->space_stats()->_local_space / K,
|
||||
ls->space_stats()->_remote_space / K,
|
||||
ls->space_stats()->_unbiased_space / K,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue