Lines Matching refs:ThreadService

47 bool ThreadService::_thread_monitoring_contention_enabled = false;
48 bool ThreadService::_thread_cpu_time_enabled = false;
49 bool ThreadService::_thread_allocated_memory_enabled = false;
51 PerfCounter* ThreadService::_total_threads_count = NULL;
52 PerfVariable* ThreadService::_live_threads_count = NULL;
53 PerfVariable* ThreadService::_peak_threads_count = NULL;
54 PerfVariable* ThreadService::_daemon_threads_count = NULL;
55 volatile int ThreadService::_exiting_threads_count = 0;
56 volatile int ThreadService::_exiting_daemon_threads_count = 0;
58 ThreadDumpResult* ThreadService::_threaddump_list = NULL;
62 void ThreadService::init() {
92 void ThreadService::reset_peak_thread_count() {
99 void ThreadService::add_thread(JavaThread* thread, bool daemon) {
118 void ThreadService::remove_thread(JavaThread* thread, bool daemon) {
134 void ThreadService::current_thread_exiting(JavaThread* jt) {
145 Handle ThreadService::get_current_contended_monitor(JavaThread* thread) {
169 bool ThreadService::set_thread_monitoring_contention(bool flag) {
178 bool ThreadService::set_thread_cpu_time_enabled(bool flag) {
187 bool ThreadService::set_thread_allocated_memory_enabled(bool flag) {
197 void ThreadService::oops_do(OopClosure* f) {
203 void ThreadService::add_thread_dump(ThreadDumpResult* dump) {
213 void ThreadService::remove_thread_dump(ThreadDumpResult* dump) {
235 Handle ThreadService::dump_stack_traces(GrowableArray<instanceHandle>* threads,
275 void ThreadService::reset_contention_count_stat(JavaThread* thread) {
282 void ThreadService::reset_contention_time_stat(JavaThread* thread) {
290 DeadlockCycle* ThreadService::find_deadlocks_at_safepoint(bool concurrent_locks) {
389 ThreadService::add_thread_dump(this);
396 ThreadService::add_thread_dump(this);
400 ThreadService::remove_thread_dump(this);
746 Handle obj = ThreadService::get_current_contended_monitor(thread);
879 int init_size = ThreadService::get_live_thread_count();