mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8039957: Replace the last few %p usages with PTR_FORMAT in the GC code
Reviewed-by: jwilhelm, sjohanss, jmasa
This commit is contained in:
parent
bacf6d7233
commit
a97ce35fab
6 changed files with 12 additions and 8 deletions
|
@ -44,6 +44,7 @@
|
|||
#include "runtime/java.hpp"
|
||||
#include "runtime/thread.inline.hpp"
|
||||
#include "utilities/copy.hpp"
|
||||
#include "utilities/globalDefinitions.hpp"
|
||||
#include "utilities/stack.inline.hpp"
|
||||
|
||||
//
|
||||
|
@ -131,7 +132,7 @@ void KlassScanClosure::do_klass(Klass* klass) {
|
|||
#ifndef PRODUCT
|
||||
if (TraceScavenge) {
|
||||
ResourceMark rm;
|
||||
gclog_or_tty->print_cr("KlassScanClosure::do_klass %p, %s, dirty: %s",
|
||||
gclog_or_tty->print_cr("KlassScanClosure::do_klass " PTR_FORMAT ", %s, dirty: %s",
|
||||
klass,
|
||||
klass->external_name(),
|
||||
klass->has_modified_oops() ? "true" : "false");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue