< prev index next >
src/hotspot/share/oops/oop.hpp
Print this page
*** 311,320 ****
--- 311,324 ----
// marks are forwarded to stack when object is locked
inline bool has_displaced_mark_raw() const;
inline markWord displaced_mark_raw() const;
inline void set_displaced_mark_raw(markWord m);
+ // Checks if the mark word needs to be preserved
+ inline bool mark_must_be_preserved(markWord m) const;
+ inline bool mark_must_be_preserved_for_promotion_failure(markWord m) const;
+
static bool has_klass_gap();
// for code generation
static int mark_offset_in_bytes() { return offset_of(oopDesc, _mark); }
static int klass_offset_in_bytes() { return offset_of(oopDesc, _metadata._klass); }
< prev index next >