< prev index next >

src/hotspot/share/services/management.cpp

Print this page

        

@@ -1643,16 +1643,10 @@
   // exclude externally visible JavaThreads
   if (thread->is_Java_thread() && !thread->is_hidden_from_external_view()) {
     return;
   }
 
-  // NonJavaThread instances may not be fully initialized yet, so we need to
-  // skip any that aren't - check for zero stack_size()
-  if (!thread->is_Java_thread() && thread->stack_size() == 0) {
-    return;
-  }
-
   if (_count >= _names_len || _count >= _times_len) {
     // skip if the result array is not big enough
     return;
   }
 
< prev index next >