mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8263721: Unify oop casting
Reviewed-by: kbarrett, coleenp
This commit is contained in:
parent
329697b02e
commit
a79f095697
90 changed files with 248 additions and 249 deletions
|
@ -351,7 +351,7 @@ void vframeArrayElement::unpack_on_stack(int caller_actual_parameters,
|
|||
#ifndef PRODUCT
|
||||
if (PrintDeoptimizationDetails) {
|
||||
tty->print("Reconstructed expression %d (OBJECT): ", i);
|
||||
oop o = (oop)(address)(*addr);
|
||||
oop o = cast_to_oop((address)(*addr));
|
||||
if (o == NULL) {
|
||||
tty->print_cr("NULL");
|
||||
} else {
|
||||
|
@ -389,7 +389,7 @@ void vframeArrayElement::unpack_on_stack(int caller_actual_parameters,
|
|||
#ifndef PRODUCT
|
||||
if (PrintDeoptimizationDetails) {
|
||||
tty->print("Reconstructed local %d (OBJECT): ", i);
|
||||
oop o = (oop)(address)(*addr);
|
||||
oop o = cast_to_oop((address)(*addr));
|
||||
if (o == NULL) {
|
||||
tty->print_cr("NULL");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue