jdk/test/javax/management/monitor/StringMonitorDeadlockTest.java
changeset 30376 2ccf2cf7ea48
parent 5506 202f599c92aa
child 31674 d60ab1cd78ae
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
     1 /*
     1 /*
     2  * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25  * @test
    25  * @test
    26  * @bug 6303187
    26  * @bug 6303187
    27  * @summary Test that no locks are held when a monitor attribute is sampled
    27  * @summary Test that no locks are held when a monitor attribute is sampled
    28  * or notif delivered.
    28  * or notif delivered.
    29  * @author Eamonn McManus
    29  * @author Eamonn McManus
       
    30  * @modules java.management
    30  * @run clean StringMonitorDeadlockTest
    31  * @run clean StringMonitorDeadlockTest
    31  * @run build StringMonitorDeadlockTest
    32  * @run build StringMonitorDeadlockTest
    32  * @run main StringMonitorDeadlockTest 1
    33  * @run main StringMonitorDeadlockTest 1
    33  * @run main StringMonitorDeadlockTest 2
    34  * @run main StringMonitorDeadlockTest 2
    34  * @run main StringMonitorDeadlockTest 3
    35  * @run main StringMonitorDeadlockTest 3