19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 // TODO add bugid and summary
25
26 /*
27 * @test
28 * @library /testlibrary /test/lib /compiler/whitebox /
29 * @requires os.simpleArch == "x64"
30 * @build compiler.valhalla.valuetypes.ValueTypeTestBench
31 * @run main ClassFileInstaller sun.hotspot.WhiteBox
32 * @run main ClassFileInstaller jdk.test.lib.Platform
33 * @run main/othervm -ea -noverify -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
34 * -XX:+UnlockExperimentalVMOptions -XX:+ValueTypePassFieldsAsArgs -XX:+ValueArrayFlatten
35 * -XX:-TieredCompilation compiler.valhalla.valuetypes.ValueTypeTestBench
36 * @run main/othervm -ea -noverify -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
37 * -XX:+UnlockExperimentalVMOptions -XX:-ValueTypePassFieldsAsArgs -XX:-ValueArrayFlatten
38 * -XX:-TieredCompilation compiler.valhalla.valuetypes.ValueTypeTestBench
39 */
40
41 // TODO Enable this
42 /*
43 * run main/othervm -ea -noverify -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
44 * -XX:+UnlockExperimentalVMOptions -XX:+ValueTypePassFieldsAsArgs -XX:+AlwaysIncrementalInline -XX:+ValueArrayFlatten
45 * -XX:-TieredCompilation compiler.valhalla.valuetypes.ValueTypeTestBench
46 */
47
48 package compiler.valhalla.valuetypes;
49
50 import compiler.whitebox.CompilerWhiteBoxTest;
51 import jdk.internal.misc.Unsafe;
52 import jdk.test.lib.Asserts;
53 import jdk.test.lib.Platform;
54 import jdk.test.lib.ProcessTools;
55 import jdk.test.lib.OutputAnalyzer;
56 import jdk.test.lib.Utils;
57 import sun.hotspot.WhiteBox;
58
59 import java.lang.annotation.Retention;
60 import java.lang.annotation.RetentionPolicy;
61 import java.lang.annotation.Repeatable;
62 import java.lang.invoke.*;
63 import java.lang.reflect.Method;
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 // TODO add bugid and summary
25
26 /*
27 * @test
28 * @library /testlibrary /test/lib /compiler/whitebox /
29 * @requires os.simpleArch == "x64"
30 * @build compiler.valhalla.valuetypes.ValueTypeTestBench
31 * @run main ClassFileInstaller sun.hotspot.WhiteBox
32 * @run main ClassFileInstaller jdk.test.lib.Platform
33 * @run main/othervm -ea -noverify -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
34 * -XX:+UnlockExperimentalVMOptions -XX:+ValueTypePassFieldsAsArgs -XX:+ValueArrayFlatten
35 * -XX:-TieredCompilation compiler.valhalla.valuetypes.ValueTypeTestBench
36 * @run main/othervm -ea -noverify -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
37 * -XX:+UnlockExperimentalVMOptions -XX:-ValueTypePassFieldsAsArgs -XX:-ValueArrayFlatten
38 * -XX:-TieredCompilation compiler.valhalla.valuetypes.ValueTypeTestBench
39 * @run main/othervm -ea -noverify -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
40 * -XX:+UnlockExperimentalVMOptions -XX:+ValueTypePassFieldsAsArgs -XX:+AlwaysIncrementalInline -XX:+ValueArrayFlatten
41 * -XX:-TieredCompilation compiler.valhalla.valuetypes.ValueTypeTestBench
42 */
43
44 package compiler.valhalla.valuetypes;
45
46 import compiler.whitebox.CompilerWhiteBoxTest;
47 import jdk.internal.misc.Unsafe;
48 import jdk.test.lib.Asserts;
49 import jdk.test.lib.Platform;
50 import jdk.test.lib.ProcessTools;
51 import jdk.test.lib.OutputAnalyzer;
52 import jdk.test.lib.Utils;
53 import sun.hotspot.WhiteBox;
54
55 import java.lang.annotation.Retention;
56 import java.lang.annotation.RetentionPolicy;
57 import java.lang.annotation.Repeatable;
58 import java.lang.invoke.*;
59 import java.lang.reflect.Method;
|