< prev index next >

src/hotspot/share/runtime/synchronizer.hpp

Print this page
@@ -131,10 +131,15 @@
  
    // Returns the identity hash value for an oop
    // NOTE: It may cause monitor inflation
    static intptr_t FastHashCode(Thread* current, oop obj);
  
+   // NOTE: May not cause monitor inflation
+   static uint32_t get_hash(markWord mark, oop obj);
+   // For CDS path.
+   static uint32_t get_hash(markWord mark, oop obj, Klass* klass);
+ 
    // 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);
  

@@ -191,10 +196,12 @@
    static void chk_in_use_entry(ObjectMonitor* n, outputStream* out,
                                 int* error_cnt_p);
    static void do_final_audit_and_print_stats();
    static void log_in_use_monitor_details(outputStream* out, bool log_all);
  
+   static intptr_t get_next_hash(Thread* current, oop obj);
+ 
   private:
    friend class SynchronizerTest;
  
    static MonitorList _in_use_list;
    static volatile bool _is_async_deflation_requested;
< prev index next >