diff -r 9b0d4b523ce4 -r 8c40b5b4e525 hotspot/src/share/vm/runtime/thread.cpp --- a/hotspot/src/share/vm/runtime/thread.cpp Fri Apr 01 07:08:55 2016 +0200 +++ b/hotspot/src/share/vm/runtime/thread.cpp Fri Apr 01 13:51:29 2016 +0530 @@ -153,7 +153,6 @@ // Current thread is maintained as a thread-local variable THREAD_LOCAL_DECL Thread* Thread::_thr_current = NULL; #endif - // Class hierarchy // - Thread // - VMThread @@ -2888,7 +2887,9 @@ // Called by Threads::print() for VM_PrintThreads operation void JavaThread::print_on(outputStream *st) const { - st->print("\"%s\" ", get_thread_name()); + st->print_raw("\""); + st->print_raw(get_thread_name()); + st->print_raw("\" "); oop thread_oop = threadObj(); if (thread_oop != NULL) { st->print("#" INT64_FORMAT " ", java_lang_Thread::thread_id(thread_oop));