Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/stackValue.cpp @ 1942:00bc9eaf0e24
Support for -XX:+UseFastLocking flag. Fixed monitor enter XIR template for correct debug info at the runtime call.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 29 Dec 2010 20:06:41 +0100 |
parents | b7fb5f1e0747 |
children | 06f017f7daa7 |
comparison
equal
deleted
inserted
replaced
1941:79d04223b8a5 | 1942:00bc9eaf0e24 |
---|---|
114 val = (oop)NULL; | 114 val = (oop)NULL; |
115 } | 115 } |
116 #endif | 116 #endif |
117 #ifndef PRODUCT | 117 #ifndef PRODUCT |
118 if (val != NULL && !val->is_oop()) { | 118 if (val != NULL && !val->is_oop()) { |
119 tty->print_cr("found wrong oop " INTPTR_FORMAT " at location:", val); | 119 ResourceMark rm; |
120 tty->print_cr("found wrong oop " INTPTR_FORMAT " at location " INTPTR_FORMAT " (%d):", val, value_addr, val->is_oop()); | |
121 if (fr->cb() != NULL) { | |
122 CodeBlob* cb = fr->cb(); | |
123 if (cb->is_nmethod()) { | |
124 nmethod* nm = (nmethod*)cb; | |
125 tty->print_cr("method is %s", nm->method()->name()->as_C_string()); | |
126 } | |
127 } | |
120 sv->print(); | 128 sv->print(); |
121 tty->print_cr(""); | 129 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()); | 130 tty->print_cr("one less %d; one more %d", (*(((oop *)value_addr) - 1))->is_oop(), (*(((oop *)value_addr) + 1))->is_oop()); |
123 } | 131 } |
124 #endif | 132 #endif |