test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001.java
changeset 51549 f419dbb34719
parent 50260 46c67f5e27c2
equal deleted inserted replaced
51548:35a6956f4243 51549:f419dbb34719
    61         checkInfo(t_a, tg, 1);
    61         checkInfo(t_a, tg, 1);
    62         t_a.start();
    62         t_a.start();
    63         try {
    63         try {
    64             t_a.join();
    64             t_a.join();
    65         } catch (InterruptedException e) {}
    65         } catch (InterruptedException e) {}
       
    66         checkInfo(t_a, t_a.getThreadGroup(), 1);
    66 
    67 
    67         thrinfo001b t_b = new thrinfo001b();
    68         thrinfo001b t_b = new thrinfo001b();
    68         t_b.setPriority(Thread.MIN_PRIORITY);
    69         t_b.setPriority(Thread.MIN_PRIORITY);
    69         t_b.setDaemon(true);
    70         t_b.setDaemon(true);
    70         checkInfo(t_b, t_b.getThreadGroup(), 2);
    71         checkInfo(t_b, t_b.getThreadGroup(), 2);
    71         t_b.start();
    72         t_b.start();
    72         checkInfo(t_b, t_b.getThreadGroup(), 2);
       
    73         try {
    73         try {
    74             t_b.join();
    74             t_b.join();
    75         } catch (InterruptedException e) {}
    75         } catch (InterruptedException e) {}
    76         checkInfo(t_b, t_b.getThreadGroup(), 2);
    76         checkInfo(t_b, t_b.getThreadGroup(), 2);
    77         return getRes();
    77         return getRes();