equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2019, 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. |
30 * java.management |
30 * java.management |
31 * @requires vm.rtm.cpu & vm.rtm.compiler |
31 * @requires vm.rtm.cpu & vm.rtm.compiler |
32 * @build sun.hotspot.WhiteBox |
32 * @build sun.hotspot.WhiteBox |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
34 * sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * sun.hotspot.WhiteBox$WhiteBoxPermission |
35 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
35 * @run main/othervm/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
36 * -XX:+WhiteBoxAPI |
36 * -XX:+WhiteBoxAPI |
37 * compiler.rtm.locking.TestUseRTMForStackLocks |
37 * compiler.rtm.locking.TestUseRTMForStackLocks |
38 */ |
38 */ |
39 |
39 |
40 package compiler.rtm.locking; |
40 package compiler.rtm.locking; |
41 |
41 |
42 import compiler.testlibrary.rtm.AbortProvoker; |
42 import compiler.testlibrary.rtm.AbortProvoker; |