Lines Matching defs:thread

46 // VM monitoring and management support for the thread and
51 // elapsed time a thread blocked on synchronization.
61 // These 2 counters are atomically incremented once the thread is exiting.
70 // Need to keep the list of thread dump result that
71 // keep references to methodOop since thread dump can be
77 static void add_thread(JavaThread* thread, bool daemon);
78 static void remove_thread(JavaThread* thread, bool daemon);
98 // Support for thread dump
102 static Handle get_current_contended_monitor(JavaThread* thread);
109 static void reset_contention_count_stat(JavaThread* thread);
110 static void reset_contention_time_stat(JavaThread* thread);
118 // Per-thread Statistics for synchronization
122 // the thread owning these statistics when contention occurs.
132 // These two reset flags are set to true when another thread
134 // are reset when the thread contention occurs and attempts
188 // Thread snapshot to represent the thread state and statistics
215 ThreadSnapshot(JavaThread* thread);
257 ThreadStackTrace(JavaThread* thread, bool with_locked_monitors);
260 JavaThread* thread() { return _thread; }
308 ThreadConcurrentLocks(JavaThread* thread);
326 void add_lock(JavaThread* thread, instanceOop o);
334 ThreadConcurrentLocks* thread_concurrent_locks(JavaThread* thread);
392 // abstract utility class to set new thread states, and restore previous after the block exits
518 // java_thread is waiting thread being blocked on monitor reenter.
519 // Current thread is the notifying thread which holds the monitor.
521 assert((java_thread != NULL), "Java thread should not be null here");
538 assert((java_thread != NULL), "Java thread should not be null here");
539 // Change thread status and collect contended enter stats for monitor contended
542 // thread status is not changed and contended enter stat is not collected.