Skip to content

Commit f5bf802

Browse files
committed
detection of 'process reaper' fixed
1 parent 0e4f00c commit f5bf802

File tree

1 file changed

+2
-2
lines changed
  • visualvm/libs.profiler/lib.profiler/test/qa-functional/src/org/graalvm/visualvm/lib/jfluid/tests/jfluid/monitor

1 file changed

+2
-2
lines changed

visualvm/libs.profiler/lib.profiler/test/qa-functional/src/org/graalvm/visualvm/lib/jfluid/tests/jfluid/monitor/MonitorTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ protected void startMonitorTest(ProfilerEngineSettings settings, int times, long
222222
String tname = td.getName();
223223
String className = td.getClassName();
224224

225-
if (!tname.equals("process reaper")
225+
if (!tname.startsWith("process reaper") // JDK-8284165
226226
&& !tname.equals("DestroyJavaVM")
227227
&& !tname.equals("Common-Cleaner")
228228
&& !tname.equals("Notification Thread") // disable system threads
229229
&& !"java.util.logging.LogManager$Cleaner".equals(className)) { // disable shutdown hook
230230

231231
byte[] states = new byte[statesNumber];
232-
String n = tname + ", class: " + td.getClassName();
232+
String n = tname + ", class: " + className;
233233
byte state = ST_UNKNOWN;
234234
long time = threadsManager.getStartTime();
235235
int tdindex = 0;

0 commit comments

Comments
 (0)