< prev index next >
src/hotspot/share/services/management.cpp
Print this page
*** 1643,1658 ****
// 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;
}
--- 1643,1652 ----
< prev index next >