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