src/hotspot/share/utilities/globalCounter.cpp
changeset 51548 35a6956f4243
parent 51511 eb8d5aeabab3
child 52332 d2a3503c72f7
--- a/src/hotspot/share/utilities/globalCounter.cpp	Tue Aug 28 14:45:34 2018 -0400
+++ b/src/hotspot/share/utilities/globalCounter.cpp	Tue Aug 28 16:04:54 2018 -0400
@@ -71,7 +71,7 @@
   for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
     ctc.do_thread(thread);
   }
-  for (NamedThread::Iterator nti; !nti.end(); nti.step()) {
-    ctc.do_thread(nti.current());
+  for (NonJavaThread::Iterator njti; !njti.end(); njti.step()) {
+    ctc.do_thread(njti.current());
   }
 }