24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8135068 |
26 * @bug 8135068 |
27 * @summary Tests CompilerCommand's method matcher |
27 * @summary Tests CompilerCommand's method matcher |
28 * @modules java.base/jdk.internal.misc |
28 * @modules java.base/jdk.internal.misc |
29 * @library /testlibrary /test/lib ../share / |
29 * @library /testlibrary /test/lib / |
|
30 * |
30 * @build compiler.compilercontrol.matcher.MethodMatcherTest |
31 * @build compiler.compilercontrol.matcher.MethodMatcherTest |
31 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
32 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
34 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
34 * -XX:+WhiteBoxAPI compiler.compilercontrol.matcher.MethodMatcherTest |
35 * -XX:+WhiteBoxAPI compiler.compilercontrol.matcher.MethodMatcherTest |
35 */ |
36 */ |
36 |
37 |
37 package compiler.compilercontrol.matcher; |
38 package compiler.compilercontrol.matcher; |
38 |
39 |
39 import jdk.test.lib.Pair; |
|
40 import compiler.compilercontrol.share.method.MethodDescriptor; |
40 import compiler.compilercontrol.share.method.MethodDescriptor; |
41 import compiler.compilercontrol.share.method.MethodGenerator; |
41 import compiler.compilercontrol.share.method.MethodGenerator; |
42 import pool.PoolHelper; |
42 import compiler.compilercontrol.share.pool.PoolHelper; |
|
43 import jdk.test.lib.Pair; |
43 import sun.hotspot.WhiteBox; |
44 import sun.hotspot.WhiteBox; |
44 |
45 |
45 import java.lang.reflect.Executable; |
46 import java.lang.reflect.Executable; |
46 import java.util.ArrayList; |
47 import java.util.ArrayList; |
47 import java.util.List; |
48 import java.util.List; |