< prev index next >

src/hotspot/share/runtime/synchronizer.hpp

Print this page
@@ -182,10 +182,15 @@
    // 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);
  
+   // Read mark-word and spin-wait as long as INFLATING is observed.
+   static markWord read_stable_mark(oop obj);
+ 
+   static markWord stable_mark(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 >