equal
deleted
inserted
replaced
311 // marks are forwarded to stack when object is locked |
311 // marks are forwarded to stack when object is locked |
312 inline bool has_displaced_mark_raw() const; |
312 inline bool has_displaced_mark_raw() const; |
313 inline markWord displaced_mark_raw() const; |
313 inline markWord displaced_mark_raw() const; |
314 inline void set_displaced_mark_raw(markWord m); |
314 inline void set_displaced_mark_raw(markWord m); |
315 |
315 |
|
316 // Checks if the mark word needs to be preserved |
|
317 inline bool mark_must_be_preserved() const; |
|
318 inline bool mark_must_be_preserved(markWord m) const; |
|
319 inline bool mark_must_be_preserved_for_promotion_failure(markWord m) const; |
|
320 |
316 static bool has_klass_gap(); |
321 static bool has_klass_gap(); |
317 |
322 |
318 // for code generation |
323 // for code generation |
319 static int mark_offset_in_bytes() { return offset_of(oopDesc, _mark); } |
324 static int mark_offset_in_bytes() { return offset_of(oopDesc, _mark); } |
320 static int klass_offset_in_bytes() { return offset_of(oopDesc, _metadata._klass); } |
325 static int klass_offset_in_bytes() { return offset_of(oopDesc, _metadata._klass); } |