mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT
Reviewed-by: kbarrett, coleenp
This commit is contained in:
parent
98da03af50
commit
6bd2794175
41 changed files with 137 additions and 131 deletions
|
@ -163,7 +163,7 @@ void ThreadLocalAllocBuffer::resize() {
|
|||
|
||||
size_t aligned_new_size = align_object_size(new_size);
|
||||
|
||||
log_trace(gc, tlab)("TLAB new size: thread: " INTPTR_FORMAT " [id: %2d]"
|
||||
log_trace(gc, tlab)("TLAB new size: thread: " PTR_FORMAT " [id: %2d]"
|
||||
" refills %d alloc: %8.6f desired_size: " SIZE_FORMAT " -> " SIZE_FORMAT,
|
||||
p2i(thread()), thread()->osthread()->thread_id(),
|
||||
_target_refills, _allocation_fraction.average(), desired_size(), aligned_new_size);
|
||||
|
@ -296,7 +296,7 @@ void ThreadLocalAllocBuffer::print_stats(const char* tag) {
|
|||
size_t waste = _gc_waste + _refill_waste;
|
||||
double waste_percent = percent_of(waste, _allocated_size);
|
||||
size_t tlab_used = Universe::heap()->tlab_used(thrd);
|
||||
log.trace("TLAB: %s thread: " INTPTR_FORMAT " [id: %2d]"
|
||||
log.trace("TLAB: %s thread: " PTR_FORMAT " [id: %2d]"
|
||||
" desired_size: " SIZE_FORMAT "KB"
|
||||
" slow allocs: %d refill waste: " SIZE_FORMAT "B"
|
||||
" alloc:%8.5f %8.0fKB refills: %d waste %4.1f%% gc: %dB"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue