src/hotspot/share/utilities/globalCounter.cpp
changeset 51511 eb8d5aeabab3
parent 51405 8b23aa7cef47
child 51548 35a6956f4243
equal deleted inserted replaced
51510:6b0012622443 51511:eb8d5aeabab3
    69   // Do all RCU threads.
    69   // Do all RCU threads.
    70   CounterThreadCheck ctc(gbl_cnt);
    70   CounterThreadCheck ctc(gbl_cnt);
    71   for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
    71   for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
    72     ctc.do_thread(thread);
    72     ctc.do_thread(thread);
    73   }
    73   }
    74   ctc.do_thread(VMThread::vm_thread());
    74   for (NamedThread::Iterator nti; !nti.end(); nti.step()) {
       
    75     ctc.do_thread(nti.current());
       
    76   }
    75 }
    77 }