mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8073464: GC workers do not have thread names
Reviewed-by: brutisso, tschatzl
This commit is contained in:
parent
40d3986051
commit
a827cdfa10
7 changed files with 15 additions and 9 deletions
|
@ -1161,6 +1161,10 @@ void NamedThread::set_name(const char* format, ...) {
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
void NamedThread::initialize_named_thread() {
|
||||
set_native_thread_name(name());
|
||||
}
|
||||
|
||||
void NamedThread::print_on(outputStream* st) const {
|
||||
st->print("\"%s\" ", name());
|
||||
Thread::print_on(st);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue