hotspot/src/share/vm/runtime/thread.cpp
changeset 24331 c0bc7e5653fb
parent 23855 c4574075402c
child 24337 ddce5dcb6be1
equal deleted inserted replaced
24243:ef084b317ced 24331:c0bc7e5653fb
  1196   va_start(ap, format);
  1196   va_start(ap, format);
  1197   jio_vsnprintf(_name, max_name_len, format, ap);
  1197   jio_vsnprintf(_name, max_name_len, format, ap);
  1198   va_end(ap);
  1198   va_end(ap);
  1199 }
  1199 }
  1200 
  1200 
       
  1201 void NamedThread::print_on(outputStream* st) const {
       
  1202   st->print("\"%s\" ", name());
       
  1203   Thread::print_on(st);
       
  1204   st->cr();
       
  1205 }
       
  1206 
       
  1207 
  1201 // ======= WatcherThread ========
  1208 // ======= WatcherThread ========
  1202 
  1209 
  1203 // The watcher thread exists to simulate timer interrupts.  It should
  1210 // The watcher thread exists to simulate timer interrupts.  It should
  1204 // be replaced by an abstraction over whatever native support for
  1211 // be replaced by an abstraction over whatever native support for
  1205 // timer interrupts exists on the platform.
  1212 // timer interrupts exists on the platform.