Skip to content

Commit c92a7de

Browse files
author
Markus Grönlund
committed
8301380: jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java
Reviewed-by: dholmes, egahlin
1 parent 0f08785 commit c92a7de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/share/jfr/utilities/jfrThreadIterator.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ static bool java_thread_inclusion_predicate(JavaThread* jt, bool live_only) {
3838
if (live_only && jt->thread_state() == _thread_new) {
3939
return false;
4040
}
41+
if (jt->is_attaching_via_jni()) {
42+
return false;
43+
}
4144
return thread_inclusion_predicate(jt);
4245
}
4346

0 commit comments

Comments
 (0)