< prev index next >
test/compiler/codegen/Test6942326.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -25,16 +25,25 @@
/**
* @test
* @bug 6942326
* @summary x86 code in string_indexof() could read beyond reserved heap space
*
- * @run main/othervm/timeout=300 -Xmx32m -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=exclude,Test,main -XX:CompileCommand=exclude,Test,test_varsub_indexof -XX:CompileCommand=exclude,Test,test_varstr_indexof -XX:CompileCommand=exclude,Test,test_missub_indexof -XX:CompileCommand=exclude,Test,test_consub_indexof -XX:CompileCommand=exclude,Test,test_conmis_indexof -XX:CompileCommand=exclude,Test,test_subcon Test
- *
+ * @run main/othervm/timeout=300 -Xmx32m -Xbatch -XX:+IgnoreUnrecognizedVMOptions
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::main
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_varsub_indexof
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_varstr_indexof
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_missub_indexof
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_consub_indexof
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_conmis_indexof
+ * -XX:CompileCommand=exclude,compiler.codegen.Test6942326::test_subcon
+ * compiler.codegen.Test6942326
*/
-public class Test {
+package compiler.codegen;
+public class Test6942326 {
+
static String[] strings = new String[1024];
private static final int ITERATIONS = 100000;
public static void main(String[] args) {
< prev index next >