comparison test/compiler/8000805/Test8000805.java @ 8684:7369298bec7e

7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option Summary: Small changes to hotspot tests to remove "-server" and replace with ${TESTVMOPTS} Reviewed-by: kvn
author collins
date Wed, 27 Feb 2013 20:36:14 -0800
parents 67f4c477c9ab
children de6a9e811145
comparison
equal deleted inserted replaced
8097:be1fbee20765 8684:7369298bec7e
24 /** 24 /**
25 * @test 25 * @test
26 * @bug 8000805 26 * @bug 8000805
27 * @summary JMM issue: short loads are non-atomic 27 * @summary JMM issue: short loads are non-atomic
28 * 28 *
29 * @run main/othervm -server -XX:-TieredCompilation -Xcomp -XX:+PrintCompilation -XX:CompileOnly=Test8000805.loadS2LmaskFF,Test8000805.loadS2Lmask16,Test8000805.loadS2Lmask13,Test8000805.loadUS_signExt,Test8000805.loadB2L_mask8 Test8000805 29 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -Xcomp -XX:+PrintCompilation -XX:CompileOnly=Test8000805.loadS2LmaskFF,Test8000805.loadS2Lmask16,Test8000805.loadS2Lmask13,Test8000805.loadUS_signExt,Test8000805.loadB2L_mask8 Test8000805
30 */ 30 */
31 31
32 public class Test8000805 { 32 public class Test8000805 {
33 static long loadS2LmaskFF (short[] sa) { return sa[0] & 0xFF; } 33 static long loadS2LmaskFF (short[] sa) { return sa[0] & 0xFF; }
34 static long loadS2LmaskFF_1 (short[] sa) { return sa[0] & 0xFF; } 34 static long loadS2LmaskFF_1 (short[] sa) { return sa[0] & 0xFF; }