equal
deleted
inserted
replaced
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 |