355 // Prepare address of oop for placement into mark |
355 // Prepare address of oop for placement into mark |
356 inline static markOop encode_pointer_as_mark(void* p) { return markOop(p)->set_marked(); } |
356 inline static markOop encode_pointer_as_mark(void* p) { return markOop(p)->set_marked(); } |
357 |
357 |
358 // Recover address of oop from encoded form used in mark |
358 // Recover address of oop from encoded form used in mark |
359 inline void* decode_pointer() { if (UseBiasedLocking && has_bias_pattern()) return NULL; return clear_lock_bits(); } |
359 inline void* decode_pointer() { if (UseBiasedLocking && has_bias_pattern()) return NULL; return clear_lock_bits(); } |
|
360 |
|
361 // see the definition in markOop.cpp for the gory details |
|
362 bool should_not_be_cached() const; |
360 }; |
363 }; |