Merge
authordcubed
Tue, 28 May 2013 11:35:57 -0700
changeset 17836 73f35424b806
parent 17834 7640ccf64175 (current diff)
parent 17835 c08b5f4bf60f (diff)
child 17840 3266c41e10e8
child 17858 c292f8791cca
Merge
--- a/hotspot/test/runtime/contended/OopMaps.java	Tue May 28 08:54:55 2013 -0700
+++ b/hotspot/test/runtime/contended/OopMaps.java	Tue May 28 11:35:57 2013 -0700
@@ -41,12 +41,15 @@
 /*
  * @test
  * @bug     8015270
+ * @bug     8015493
  * @summary \@Contended: fix multiple issues in the layout code
  *
- * @run main/othervm -XX:-RestrictContended OopMaps
+ * @run main/othervm -XX:-RestrictContended -XX:ContendedPaddingWidth=128 -Xmx128m OopMaps
  */
 public class OopMaps {
 
+    public static final int COUNT = 10000;
+
     public static void main(String[] args) throws Exception {
         Object o01 = new Object();
         Object o02 = new Object();
@@ -63,7 +66,6 @@
         Object o13 = new Object();
         Object o14 = new Object();
 
-        final int COUNT = 100000;
         R1[] rs = new R1[COUNT];
 
         for (int i = 0; i < COUNT; i++) {