--- a/src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp Tue Sep 17 13:32:27 2019 +0200
+++ b/src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp Tue Sep 17 13:59:11 2019 +0200
@@ -63,7 +63,6 @@
JavaThread* JfrJavaThreadIteratorAdapter::next() {
assert(has_next(), "invariant");
Type* const temp = _next;
- assert(java_thread_inclusion_predicate(temp), "invariant");
_next = next_java_thread(_iter);
assert(temp != _next, "invariant");
return temp;
@@ -78,7 +77,6 @@
NonJavaThread* JfrNonJavaThreadIteratorAdapter::next() {
assert(has_next(), "invariant");
Type* const temp = _next;
- assert(thread_inclusion_predicate(temp), "invariant");
_next = next_non_java_thread(_iter);
assert(temp != _next, "invariant");
return temp;