@@ -1008,9 +1008,9 @@ void CompileBroker::init_compiler_sweeper_threads() {
10081008 _compilers[1 ]->set_num_compiler_threads (i + 1 );
10091009 if (TraceCompilerThreads) {
10101010 ResourceMark rm;
1011- ThreadsListHandle tlh; // get_thread_name () depends on the TLH.
1011+ ThreadsListHandle tlh; // name () depends on the TLH.
10121012 assert (tlh.includes (ct), " ct=" INTPTR_FORMAT " exited unexpectedly." , p2i (ct));
1013- tty->print_cr (" Added initial compiler thread %s" , ct->get_thread_name ());
1013+ tty->print_cr (" Added initial compiler thread %s" , ct->name ());
10141014 }
10151015 }
10161016 }
@@ -1029,9 +1029,9 @@ void CompileBroker::init_compiler_sweeper_threads() {
10291029 _compilers[0 ]->set_num_compiler_threads (i + 1 );
10301030 if (TraceCompilerThreads) {
10311031 ResourceMark rm;
1032- ThreadsListHandle tlh; // get_thread_name () depends on the TLH.
1032+ ThreadsListHandle tlh; // name () depends on the TLH.
10331033 assert (tlh.includes (ct), " ct=" INTPTR_FORMAT " exited unexpectedly." , p2i (ct));
1034- tty->print_cr (" Added initial compiler thread %s" , ct->get_thread_name ());
1034+ tty->print_cr (" Added initial compiler thread %s" , ct->name ());
10351035 }
10361036 }
10371037 }
@@ -1116,10 +1116,10 @@ void CompileBroker::possibly_add_compiler_threads(JavaThread* THREAD) {
11161116 _compilers[1 ]->set_num_compiler_threads (i + 1 );
11171117 if (TraceCompilerThreads) {
11181118 ResourceMark rm;
1119- ThreadsListHandle tlh; // get_thread_name () depends on the TLH.
1119+ ThreadsListHandle tlh; // name () depends on the TLH.
11201120 assert (tlh.includes (ct), " ct=" INTPTR_FORMAT " exited unexpectedly." , p2i (ct));
11211121 tty->print_cr (" Added compiler thread %s (available memory: %dMB, available non-profiled code cache: %dMB)" ,
1122- ct->get_thread_name (), (int )(available_memory/M), (int )(available_cc_np/M));
1122+ ct->name (), (int )(available_memory/M), (int )(available_cc_np/M));
11231123 }
11241124 }
11251125 }
@@ -1137,10 +1137,10 @@ void CompileBroker::possibly_add_compiler_threads(JavaThread* THREAD) {
11371137 _compilers[0 ]->set_num_compiler_threads (i + 1 );
11381138 if (TraceCompilerThreads) {
11391139 ResourceMark rm;
1140- ThreadsListHandle tlh; // get_thread_name () depends on the TLH.
1140+ ThreadsListHandle tlh; // name () depends on the TLH.
11411141 assert (tlh.includes (ct), " ct=" INTPTR_FORMAT " exited unexpectedly." , p2i (ct));
11421142 tty->print_cr (" Added compiler thread %s (available memory: %dMB, available profiled code cache: %dMB)" ,
1143- ct->get_thread_name (), (int )(available_memory/M), (int )(available_cc_p/M));
1143+ ct->name (), (int )(available_memory/M), (int )(available_cc_p/M));
11441144 }
11451145 }
11461146 }
0 commit comments