45 String[] flags = {"-XX:+UnlockDiagnosticVMOptions", |
45 String[] flags = {"-XX:+UnlockDiagnosticVMOptions", |
46 "-XX:-BytecodeVerificationRemote", |
46 "-XX:-BytecodeVerificationRemote", |
47 "-XX:-BytecodeVerificationLocal", |
47 "-XX:-BytecodeVerificationLocal", |
48 "-XX:-TieredCompilation", |
48 "-XX:-TieredCompilation", |
49 "-XX:CompileCommand=dontinline,compiler/linkage/OSRWithBadOperandStack.m*", |
49 "-XX:CompileCommand=dontinline,compiler/linkage/OSRWithBadOperandStack.m*", |
|
50 "-XX:-CreateCoredumpOnCrash", |
|
51 "-Xmx64m", |
50 "compiler.linkage.TestLinkageErrorInGenerateOopMap", "run"}; |
52 "compiler.linkage.TestLinkageErrorInGenerateOopMap", "run"}; |
51 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(flags); |
53 ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(flags); |
52 OutputAnalyzer out = new OutputAnalyzer(pb.start()); |
54 OutputAnalyzer out = new OutputAnalyzer(pb.start()); |
53 if (out.getExitValue() != 0) { |
55 if (out.getExitValue() != 0) { |
54 // OSR compilation should exit with an error during OopMap verification |
56 // OSR compilation should exit with an error during OopMap verification |