src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp
branchJEP-349-branch
changeset 58185 ff328fdeca2d
parent 57878 bffba8d6611a
--- a/src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp	Tue Sep 17 12:37:53 2019 +0200
+++ b/src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp	Tue Sep 17 12:41:45 2019 +0200
@@ -119,9 +119,6 @@
   while (iter.has_next()) {
     JavaThread* const jt = iter.next();
     assert(jt != NULL, "invariant");
-    if (jt->jfr_thread_local()->is_excluded()) {
-      continue;
-    }
     ++number_of_threads;
     EventThreadCPULoad event(UNTIMED);
     if (JfrThreadCPULoadEvent::update_event(event, jt, cur_wallclock_time, processor_count)) {