# HG changeset patch # User gadams # Date 1535455836 14400 # Node ID f419dbb34719bec55537dd3ceb0b30d85c3d9d9a # Parent 35a6956f424349756bc86bdc636a14f80d85b270 8019927: [TESTBUG] nsk/jvmti/GetThreadInfo/thrinfo001 intermittently fails with 'invalid thread group' when running with JFR Reviewed-by: amenkov, cjplummer, sspitsyn diff -r 35a6956f4243 -r f419dbb34719 test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001.java --- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001.java Tue Aug 28 16:04:54 2018 -0400 +++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001.java Tue Aug 28 07:30:36 2018 -0400 @@ -63,13 +63,13 @@ try { t_a.join(); } catch (InterruptedException e) {} + checkInfo(t_a, t_a.getThreadGroup(), 1); thrinfo001b t_b = new thrinfo001b(); t_b.setPriority(Thread.MIN_PRIORITY); t_b.setDaemon(true); checkInfo(t_b, t_b.getThreadGroup(), 2); t_b.start(); - checkInfo(t_b, t_b.getThreadGroup(), 2); try { t_b.join(); } catch (InterruptedException e) {}