diff src/share/vm/runtime/vframeArray.cpp @ 12424:737151a29a1f

Fix intptr_t to oop casts in vframeArray.cpp and re-enable CHECK_UNHANDLED_OOPS in fastdebug mode
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 15 Oct 2013 14:26:30 +0200
parents 359f7e70ae7f
children 5df9c590f401
line wrap: on
line diff
--- a/src/share/vm/runtime/vframeArray.cpp	Tue Oct 15 14:46:25 2013 +0200
+++ b/src/share/vm/runtime/vframeArray.cpp	Tue Oct 15 14:26:30 2013 +0200
@@ -338,7 +338,7 @@
 #ifndef PRODUCT
         if (PrintDeoptimizationDetails) {
           tty->print("Reconstructed expression %d (OBJECT): ", i);
-          oop o = (oop)(*addr);
+          oop o = (oop)(address)(*addr);
           if (o == NULL) {
             tty->print_cr("NULL");
           } else {
@@ -375,7 +375,7 @@
 #ifndef PRODUCT
         if (PrintDeoptimizationDetails) {
           tty->print("Reconstructed local %d (OBJECT): ", i);
-          oop o = (oop)(*addr);
+          oop o = (oop)(address)(*addr);
           if (o == NULL) {
             tty->print_cr("NULL");
           } else {