< prev index next >

src/share/vm/oops/oop.inline.hpp

Print this page

        

@@ -537,11 +537,11 @@
 }
 
 
 // used only for asserts
 bool oopDesc::is_oop_or_null(bool ignore_mark_word) const {
-  return this == NULL ? true : is_oop(ignore_mark_word);
+  return (this == NULL) || is_oop(ignore_mark_word);
 }
 
 #ifndef PRODUCT
 // used only for asserts
 bool oopDesc::is_unlocked_oop() const {
< prev index next >