Mercurial > hg > graal-compiler
diff src/share/vm/oops/oop.inline.hpp @ 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 | d55217dc206f |
children | 06f017f7daa7 |
line wrap: on
line diff
--- a/src/share/vm/oops/oop.inline.hpp Tue Dec 28 18:33:26 2010 +0100 +++ b/src/share/vm/oops/oop.inline.hpp Wed Dec 29 20:06:41 2010 +0100 @@ -533,8 +533,8 @@ // used only for asserts inline bool oopDesc::is_oop(bool ignore_mark_word) const { oop obj = (oop) this; - if (!check_obj_alignment(obj)) return false; - if (!Universe::heap()->is_in_reserved(obj)) return false; + if (!check_obj_alignment(obj)) { tty->print_cr("unaligned"); return false; } + if (!Universe::heap()->is_in_reserved(obj)) { tty->print_cr("not in reserved"); return false; } // obj is aligned and accessible in heap // try to find metaclass cycle safely without seg faulting on bad input // we should reach klassKlassObj by following klass link at most 3 times