comparison src/share/vm/runtime/stackValue.cpp @ 1937:4853c5cad3aa

More deoptmization tracing.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Thu, 23 Dec 2010 22:14:31 +0100
parents c18cbe5936b8
children 1aa5b22a7716
comparison
equal deleted inserted replaced
1936:8d88c9ac9247 1937:4853c5cad3aa
110 // Compiled code may produce decoded oop = narrow_oop_base 110 // Compiled code may produce decoded oop = narrow_oop_base
111 // when a narrow oop implicit null check is used. 111 // when a narrow oop implicit null check is used.
112 // The narrow_oop_base could be NULL or be the address 112 // The narrow_oop_base could be NULL or be the address
113 // of the page below heap. Use NULL value for both cases. 113 // of the page below heap. Use NULL value for both cases.
114 val = (oop)NULL; 114 val = (oop)NULL;
115 }
116 #endif
117 #ifndef PRODUCT
118 if (!val->is_oop()) {
119 tty->print_cr("found wrong oop %x at location:", val);
120 sv->print();
121 tty->print_cr("");
122 tty->print_cr("one less %d; one more %d", (*(((oop *)value_addr) - 1))->is_oop(), (*(((oop *)value_addr) + 1))->is_oop());
115 } 123 }
116 #endif 124 #endif
117 Handle h(val); // Wrap a handle around the oop 125 Handle h(val); // Wrap a handle around the oop
118 return new StackValue(h); 126 return new StackValue(h);
119 } 127 }