test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java

changeset 5490
71526a36ebb4
parent 5486
8d77d02828d9
child 6876
710a3c8b516e
equal deleted inserted replaced
5489:5e0b3d7df485 5490:71526a36ebb4
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 8016474 26 * @bug 8016474
27 * @summary The bug only happens with C1 and G1 using a different ObjectAlignmentInBytes than KlassAlignmentInBytes (which is 8) 27 * @summary The bug only happens with C1 and G1 using a different ObjectAlignmentInBytes than KlassAlignmentInBytes (which is 8)
28 * @run main/othervm -Xbatch -XX:ObjectAlignmentInBytes=32 GetUnsafeObjectG1PreBarrier 28 * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:ObjectAlignmentInBytes=32 GetUnsafeObjectG1PreBarrier
29 */ 29 */
30 30
31 import java.lang.reflect.Field; 31 import java.lang.reflect.Field;
32 32
33 import sun.misc.Unsafe; 33 import sun.misc.Unsafe;

mercurial