8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32'
authortwisti
Mon, 05 Aug 2013 15:03:40 -0700
changeset 19160 6731e700c220
parent 19159 d3859e1b62da
child 19161 98330c87f049
child 19279 4be3c2e6663c
8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32' Reviewed-by: kvn
hotspot/test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java
--- a/hotspot/test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java	Mon Aug 05 17:15:35 2013 +0200
+++ b/hotspot/test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java	Mon Aug 05 15:03:40 2013 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8016474
  * @summary The bug only happens with C1 and G1 using a different ObjectAlignmentInBytes than KlassAlignmentInBytes (which is 8)
- * @run main/othervm -Xbatch -XX:ObjectAlignmentInBytes=32 GetUnsafeObjectG1PreBarrier
+ * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:ObjectAlignmentInBytes=32 GetUnsafeObjectG1PreBarrier
  */
 
 import java.lang.reflect.Field;