remove unstable assert from JfrJavaThreadIterator JEP-349-branch
authormgronlun
Tue, 17 Sep 2019 13:59:11 +0200
branchJEP-349-branch
changeset 58188 78b0d3d2f7b5
parent 58187 8994744e221c
child 58192 09ed30a4bfae
remove unstable assert from JfrJavaThreadIterator
src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp
--- 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;