Lines Matching refs:st

834 void Thread::print_on(outputStream* st) const {
837 st->print("prio=%d tid=" INTPTR_FORMAT " ", get_priority(this), this);
838 osthread()->print_on(st);
840 debug_only(if (WizardMode) print_owned_locks_on(st);)
845 void Thread::print_on_error(outputStream* st, char* buf, int buflen) const {
846 if (is_VM_thread()) st->print("VMThread");
847 else if (is_Compiler_thread()) st->print("CompilerThread");
848 else if (is_Java_thread()) st->print("JavaThread");
849 else if (is_GC_task_thread()) st->print("GCTaskThread");
850 else if (is_Watcher_thread()) st->print("WatcherThread");
851 else if (is_ConcurrentGC_thread()) st->print("ConcurrentGCThread");
852 else st->print("Thread");
854 st->print(" [stack: " PTR_FORMAT "," PTR_FORMAT "]",
858 st->print(" [id=%d]", osthread()->thread_id());
863 void Thread::print_owned_locks_on(outputStream* st) const {
866 st->print(" (no locks) ");
868 st->print_cr(" Locks owned:");
870 cur->print_on(st);
1376 void WatcherThread::print_on(outputStream* st) const {
1377 st->print("\"%s\" ", name());
1378 Thread::print_on(st);
1379 st->cr();
2798 void JavaThread::print_thread_state_on(outputStream *st) const {
2799 st->print_cr(" JavaThread state: %s", _get_thread_state_name(_thread_state));
2807 void JavaThread::print_on(outputStream *st) const {
2808 st->print("\"%s\" ", get_thread_name());
2810 if (thread_oop != NULL && java_lang_Thread::is_daemon(thread_oop)) st->print("daemon ");
2811 Thread::print_on(st);
2813 st->print_cr("[" INTPTR_FORMAT "]", (intptr_t)last_Java_sp() & ~right_n_bits(12));
2815 st->print_cr(" java.lang.Thread.State: %s", java_lang_Thread::thread_status_name(thread_oop));
2818 print_thread_state_on(st);
2819 _safepoint_state->print_on(st);
2825 void JavaThread::print_on_error(outputStream* st, char *buf, int buflen) const {
2826 st->print("JavaThread \"%s\"", get_thread_name_string(buf, buflen));
2829 if (java_lang_Thread::is_daemon(thread_obj)) st->print(" daemon");
2831 st->print(" [");
2832 st->print("%s", _get_thread_state_name(_thread_state));
2834 st->print(", id=%d", osthread()->thread_id());
2836 st->print(", stack(" PTR_FORMAT "," PTR_FORMAT ")",
2838 st->print("]");
3001 void JavaThread::print_stack_on(outputStream* st) {
3012 java_lang_Throwable::print_stack_element(st, jvf->method(), jvf->bci());
3016 jvf->print_lock_info_on(st, count);
4265 void Threads::print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks) {
4267 st->print_cr(os::local_time_string(buf, sizeof(buf)));
4269 st->print_cr("Full thread dump %s (%s %s):",
4274 st->cr();
4286 p->print_on(st);
4291 p->print_stack_on(st);
4294 st->cr();
4297 concurrent_locks.print_locks_on(p, st);
4302 VMThread::vm_thread()->print_on(st);
4303 st->cr();
4304 Universe::heap()->print_gc_threads_on(st);
4306 if (wt != NULL) wt->print_on(st);
4307 st->cr();
4308 CompileBroker::print_compiler_threads_on(st);
4309 st->flush();
4316 void Threads::print_on_error(outputStream* st, Thread* current, char* buf, int buflen) {
4318 st->print_cr("Java Threads: ( => current thread )");
4323 st->print("%s", is_current ? "=>" : " ");
4325 st->print(PTR_FORMAT, thread);
4326 st->print(" ");
4327 thread->print_on_error(st, buf, buflen);
4328 st->cr();
4330 st->cr();
4332 st->print_cr("Other Threads:");
4336 st->print("%s", current == VMThread::vm_thread() ? "=>" : " ");
4338 st->print(PTR_FORMAT, VMThread::vm_thread());
4339 st->print(" ");
4340 VMThread::vm_thread()->print_on_error(st, buf, buflen);
4341 st->cr();
4347 st->print("%s", is_current ? "=>" : " ");
4349 st->print(PTR_FORMAT, wt);
4350 st->print(" ");
4351 wt->print_on_error(st, buf, buflen);
4352 st->cr();
4355 st->cr();
4356 st->print("=>" PTR_FORMAT " (exited) ", current);
4357 current->print_on_error(st, buf, buflen);
4358 st->cr();
4380 // We should make this a 1st-class type, integrated into the lock