changeset 52292:f419dbb34719

8019927: [TESTBUG] nsk/jvmti/GetThreadInfo/thrinfo001 intermittently fails with 'invalid thread group' when running with JFR Reviewed-by: amenkov, cjplummer, sspitsyn
author gadams
date Tue, 28 Aug 2018 07:30:36 -0400
parents 35a6956f4243
children a2f1923b3e16
files test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {}