< prev index next >

src/hotspot/share/runtime/threads.hpp

Print this page
*** 136,10 ***
--- 136,11 ---
  
    // Get owning Java thread from the monitor's owner field.
    static JavaThread *owning_thread_from_monitor_owner(ThreadsList * t_list,
                                                        address owner);
  
+   static JavaThread* owning_thread_from_object(ThreadsList* t_list, oop obj);
    static JavaThread* owning_thread_from_monitor(ThreadsList* t_list, ObjectMonitor* owner);
  
    // Number of threads on the active threads list
    static int number_of_threads()                 { return _number_of_threads; }
    // Number of non-daemon threads on the active threads list
< prev index next >