jdk/test/javax/management/monitor/StartStopTest.java
author ykantser
Thu, 07 May 2015 09:11:49 +0200
changeset 30376 2ccf2cf7ea48
parent 25751 561ceea4b5e9
child 44423 306c020eb154
permissions -rw-r--r--
8078896: Add @modules as needed to the jdk_svc tests Reviewed-by: alanb, mchung
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
30376
2ccf2cf7ea48 8078896: Add @modules as needed to the jdk_svc tests
ykantser
parents: 25751
diff changeset
     2
 * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 * @test
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
 * @bug 6222826
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 * @summary Test that tasks are cancelled properly when
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 *          monitors are started and stopped in a loop.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * @author Luis-Miguel Alventosa
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
    30
 * @library /lib/testlibrary
30376
2ccf2cf7ea48 8078896: Add @modules as needed to the jdk_svc tests
ykantser
parents: 25751
diff changeset
    31
 * @modules java.management
24366
57c0a8b7a936 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
ykantser
parents: 22350
diff changeset
    32
 * @build jdk.testlibrary.*
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * @run clean StartStopTest
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * @run build StartStopTest
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * @run main/othervm/timeout=300 StartStopTest 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * @run main/othervm/timeout=300 StartStopTest 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * @run main/othervm/timeout=300 StartStopTest 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 * @run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=5 StartStopTest 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * @run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=5 StartStopTest 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 * @run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=5 StartStopTest 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * @run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=-5 StartStopTest 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * @run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=-5 StartStopTest 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 * @run main/othervm/timeout=300 -Djmx.x.monitor.maximum.pool.size=-5 StartStopTest 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
import java.util.concurrent.atomic.AtomicInteger;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
import javax.management.MBeanServer;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
import javax.management.MBeanServerFactory;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
import javax.management.Notification;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
import javax.management.NotificationListener;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
import javax.management.ObjectName;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
import javax.management.monitor.CounterMonitor;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
import javax.management.monitor.GaugeMonitor;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
import javax.management.monitor.Monitor;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
import javax.management.monitor.MonitorNotification;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
import javax.management.monitor.StringMonitor;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
    58
import jdk.testlibrary.Utils;
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
    59
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
public class StartStopTest {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    static int maxPoolSize;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    static final AtomicInteger counter = new AtomicInteger();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    // MBean class
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
    public class ObservedObject implements ObservedObjectMBean {
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
    66
        volatile public boolean called = false;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        public Integer getInteger() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            task("Integer");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
            return 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
        public Double getDouble() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
            task("Double");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
            return 0.0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        public String getString() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
            task("String");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
            return "";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        private void task(String prop) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
            called = true;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
            final int c = counter.incrementAndGet();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
            echo("\tTASK [" + c + "] in get" + prop);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    // MBean interface
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
    public interface ObservedObjectMBean {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        public Integer getInteger();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        public Double getDouble();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        public String getString();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
     * Run test
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
    public int runTest(int monitorType) throws Exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
        int nTasks = maxPoolSize + 2;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
        ObjectName[] mbeanNames = new ObjectName[nTasks];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
        ObservedObject[] monitored = new ObservedObject[nTasks];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        ObjectName[] monitorNames = new ObjectName[nTasks];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        Monitor[] monitor = new Monitor[nTasks];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        String[] attributes = { "Integer", "Double", "String" };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
            echo(">>> CREATE MBeanServer");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
            MBeanServer server = MBeanServerFactory.newMBeanServer();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
            String domain = server.getDefaultDomain();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
            for (int i = 0; i < nTasks; i++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
                mbeanNames[i] =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
                    new ObjectName(":type=ObservedObject,instance=" + (i + 1));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
                monitored[i] = new ObservedObject();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
                echo(">>> CREATE ObservedObject = " + mbeanNames[i].toString());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
                server.registerMBean(monitored[i], mbeanNames[i]);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
                switch (monitorType) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
                case 1:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
                    monitorNames[i] = new ObjectName(":type=CounterMonitor," +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
                                                     "instance=" + (i + 1));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
                    monitor[i] = new CounterMonitor();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
                    break;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
                case 2:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
                    monitorNames[i] = new ObjectName(":type=GaugeMonitor," +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
                                                     "instance=" + (i + 1));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
                    monitor[i] = new GaugeMonitor();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
                    break;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
                case 3:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
                    monitorNames[i] = new ObjectName(":type=StringMonitor," +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
                                                     "instance=" + (i + 1));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
                    monitor[i] = new StringMonitor();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                    break;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
                default:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
                    echo("Unsupported monitor type");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
                    return 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
                echo(">>> CREATE Monitor = " + monitorNames[i].toString());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
                server.registerMBean(monitor[i], monitorNames[i]);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
                monitor[i].addObservedObject(mbeanNames[i]);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
                monitor[i].setObservedAttribute(attributes[monitorType-1]);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
                monitor[i].setGranularityPeriod(50);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
            for (int j = 0; j < 2; j++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
                echo(">>> Start MONITORS");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
                for (int i = 0; i < nTasks; i++)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
                    monitor[i].start();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
                echo(">>> MONITORS started");
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
   149
                doSleep(500);
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
                echo(">>> Check FLAGS true");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
                for (int i = 0; i < nTasks; i++)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
                    if (!monitored[i].called) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
                        echo("KO: At least one attribute was not called");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
                        return 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
                    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
                echo(">>> FLAGS checked true");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
                echo(">>> Stop MONITORS");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
                for (int i = 0; i < nTasks; i++)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
                    monitor[i].stop();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
                echo(">>> MONITORS stopped");
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
   161
                doSleep(500);
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                echo(">>> Set FLAGS to false");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
                for (int i = 0; i < nTasks; i++)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                    monitored[i].called = false;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                echo(">>> FLAGS set to false");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                echo(">>> Check FLAGS remain false");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
                for (int i = 0; i < nTasks; i++)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
                    if (monitored[i].called) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
                        echo("KO: At least one attribute " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
                             "continued to get called");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
                        return 1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
                    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
                echo(">>> FLAGS checked false");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
        } finally {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
            for (int i = 0; i < nTasks; i++)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
                if (monitor[i] != null)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
                    monitor[i].stop();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        return 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    /*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
     * Print message
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    private static void echo(String message) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        System.out.println(message);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
    /*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
     * Standalone entry point.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
     * Run the test and report to stdout.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
    public static void main (String args[]) throws Exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        Integer size = Integer.getInteger("jmx.x.monitor.maximum.pool.size");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
        if (size == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
            maxPoolSize = 10;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
            echo(">>> MAXIMUM POOL SIZE = 10 [default value]");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
        } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
            maxPoolSize = size.intValue() < 1 ? 1 : size.intValue();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
            echo(">>> MAXIMUM POOL SIZE = " + maxPoolSize);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        StartStopTest test = new StartStopTest();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        int error = test.runTest(Integer.parseInt(args[0]));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        if (error > 0) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
            echo(">>> Unhappy Bye, Bye!");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
            throw new IllegalStateException(
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
                "Test FAILED: Unexpected Maximum Pool Size Overflow!");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
        } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
            echo(">>> Happy Bye, Bye!");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
    }
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
   215
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
   216
    private static void doSleep(long ms) throws Exception {
25751
561ceea4b5e9 8049194: com/sun/tools/attach/StartManagementAgent.java start failing after JDK-8048193
jbachorik
parents: 24366
diff changeset
   217
        Thread.sleep(Utils.adjustTimeout(ms));
22350
4143cdafa0d5 8031559: javax/management/monitor/StartStopTest.java fails intermittently
jbachorik
parents: 5506
diff changeset
   218
    }
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
}