Skip to content

Commit

Permalink
8301380: jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes, egahlin
  • Loading branch information
Markus Grönlund committed Feb 8, 2023
1 parent 0f08785 commit c92a7de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ static bool java_thread_inclusion_predicate(JavaThread* jt, bool live_only) {
if (live_only && jt->thread_state() == _thread_new) {
return false;
}
if (jt->is_attaching_via_jni()) {
return false;
}
return thread_inclusion_predicate(jt);
}

Expand Down

1 comment on commit c92a7de

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.