equal
deleted
inserted
replaced
846 if (osthread()) { |
846 if (osthread()) { |
847 st->print(" [id=%d]", osthread()->thread_id()); |
847 st->print(" [id=%d]", osthread()->thread_id()); |
848 } |
848 } |
849 } |
849 } |
850 |
850 |
|
851 void Thread::print_value_on(outputStream* st) const { |
|
852 if (is_Named_thread()) { |
|
853 st->print(" \"%s\" ", name()); |
|
854 } |
|
855 st->print(INTPTR_FORMAT, p2i(this)); // print address |
|
856 } |
|
857 |
851 #ifdef ASSERT |
858 #ifdef ASSERT |
852 void Thread::print_owned_locks_on(outputStream* st) const { |
859 void Thread::print_owned_locks_on(outputStream* st) const { |
853 Monitor *cur = _owned_locks; |
860 Monitor *cur = _owned_locks; |
854 if (cur == NULL) { |
861 if (cur == NULL) { |
855 st->print(" (no locks) "); |
862 st->print(" (no locks) "); |