23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8072016 |
26 * @bug 8072016 |
27 * @summary Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation |
27 * @summary Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation |
28 * @library /testlibrary /test/lib /compiler/whitebox / |
28 * @library /testlibrary /test/lib / |
29 * @modules java.base/jdk.internal.misc |
29 * @modules java.base/jdk.internal.misc |
30 * java.management |
30 * java.management |
31 * @build TestArrayCopyNoInitDeopt |
31 * @build TestArrayCopyNoInitDeopt |
32 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
32 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
33 * @run main ClassFileInstaller jdk.test.lib.Platform |
33 * jdk.test.lib.Platform |
34 * @run main/othervm -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
34 * @run main/othervm -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
35 * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=020 |
35 * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=020 |
36 * TestArrayCopyNoInitDeopt |
36 * TestArrayCopyNoInitDeopt |
37 * |
|
38 */ |
37 */ |
39 |
|
40 |
38 |
41 import sun.hotspot.WhiteBox; |
39 import sun.hotspot.WhiteBox; |
42 import sun.hotspot.code.NMethod; |
40 import sun.hotspot.code.NMethod; |
43 import jdk.test.lib.Platform; |
41 import jdk.test.lib.Platform; |
44 import java.lang.reflect.*; |
42 import java.lang.reflect.*; |