< prev index next >

src/hotspot/share/runtime/synchronizer.hpp

Print this page
*** 119,15 ***
--- 119,19 ---
    static ObjectMonitor* inflate(Thread* current, oop obj, const InflateCause cause);
    // This version is only for internal use
    static void inflate_helper(oop obj);
    static const char* inflate_cause_name(const InflateCause cause);
  
+   static markWord safe_load_mark(oop obj);
+ 
    // Returns the identity hash value for an oop
    // NOTE: It may cause monitor inflation
    static intptr_t identity_hash_value_for(Handle obj);
    static intptr_t FastHashCode(Thread* current, oop obj);
  
+   static markWord stable_mark(const oop obj);
+ 
    // java.lang.Thread support
    static bool current_thread_holds_lock(JavaThread* current, Handle h_obj);
  
    static JavaThread* get_lock_owner(ThreadsList * t_list, Handle h_obj);
  
< prev index next >