threadcpu to include excluded threads JEP-349-branch
authormgronlun
Tue, 17 Sep 2019 12:41:45 +0200
branchJEP-349-branch
changeset 58185 ff328fdeca2d
parent 58184 2bc0dc4b7119
child 58187 8994744e221c
threadcpu to include excluded threads
src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp
--- 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)) {