Wed, 05 Mar 2014 06:08:19 +0100
8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
Summary: Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM
Reviewed-by: kvn, roland
test/compiler/uncommontrap/TestSpecTrapClassUnloading.java | file | annotate | diff | comparison | revisions |
1.1 --- a/test/compiler/uncommontrap/TestSpecTrapClassUnloading.java Wed Mar 05 09:29:12 2014 +0100 1.2 +++ b/test/compiler/uncommontrap/TestSpecTrapClassUnloading.java Wed Mar 05 06:08:19 2014 +0100 1.3 @@ -25,7 +25,7 @@ 1.4 * @test 1.5 * @bug 8031752 1.6 * @summary speculative traps need to be cleaned up at GC 1.7 - * @run main/othervm -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:TypeProfileLevel=222 -XX:CompileCommand=exclude,java.lang.reflect.Method::invoke -XX:CompileCommand=exclude,sun.reflect.DelegatingMethodAccessorImpl::invoke -Xmx1M TestSpecTrapClassUnloading 1.8 + * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:TypeProfileLevel=222 -XX:CompileCommand=exclude,java.lang.reflect.Method::invoke -XX:CompileCommand=exclude,sun.reflect.DelegatingMethodAccessorImpl::invoke -Xmx1M TestSpecTrapClassUnloading 1.9 * 1.10 */ 1.11