< prev index next >
src/hotspot/share/oops/oop.inline.hpp
Print this page
@@ -494,10 +494,14 @@
operator const Klass*() const {
return _obj->klass();
}
};
+bool oopDesc::mark_must_be_preserved() const {
+ return mark_must_be_preserved(mark_raw());
+}
+
bool oopDesc::mark_must_be_preserved(markWord m) const {
// There's a circular dependency between oop.inline.hpp and
// markWord.inline.hpp because markWord::must_be_preserved wants to call
// oopDesc::klass(). This could be solved by calling klass() here. However,
// not all paths inside must_be_preserved calls klass(). Defer the call until
< prev index next >