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
|
@ -49,7 +49,7 @@ void oopDesc::print_on(outputStream* st) const {
|
|||
}
|
||||
|
||||
void oopDesc::print_address_on(outputStream* st) const {
|
||||
st->print("{" INTPTR_FORMAT "}", p2i(this));
|
||||
st->print("{" PTR_FORMAT "}", p2i(this));
|
||||
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ VerifyOopClosure VerifyOopClosure::verify_oop;
|
|||
|
||||
template <class T> void VerifyOopClosure::do_oop_work(T* p) {
|
||||
oop obj = RawAccess<>::oop_load(p);
|
||||
guarantee(oopDesc::is_oop_or_null(obj), "invalid oop: " INTPTR_FORMAT, p2i((oopDesc*) obj));
|
||||
guarantee(oopDesc::is_oop_or_null(obj), "invalid oop: " PTR_FORMAT, p2i(obj));
|
||||
}
|
||||
|
||||
void VerifyOopClosure::do_oop(oop* p) { VerifyOopClosure::do_oop_work(p); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue