< prev index next >

test/hotspot/jtreg/gc/g1/plab/TestPLABPromotion.java

Print this page
@@ -43,10 +43,11 @@
  import gc.g1.plab.lib.AppPLABPromotion;
  import gc.g1.plab.lib.LogParser;
  import gc.g1.plab.lib.PLABUtils;
  import gc.g1.plab.lib.PlabInfo;
  
+ import jdk.test.lib.Platform;
  import jdk.test.lib.process.OutputAnalyzer;
  import jdk.test.lib.process.ProcessTools;
  
  /**
   * Test checks PLAB promotion of different size objects.

@@ -70,11 +71,11 @@
      private static final int PLAB_SIZE_SMALL = 1024;
      private static final int PLAB_SIZE_MEDIUM = 4096;
      private static final int PLAB_SIZE_HIGH = 65536;
      private static final int OBJECT_SIZE_SMALL = 10;
      private static final int OBJECT_SIZE_MEDIUM = 100;
-     private static final int OBJECT_SIZE_HIGH = 3250;
+     private static final int OBJECT_SIZE_HIGH = Platform.is64bit() ? 3266 : 3258;
      private static final int GC_NUM_SMALL = 1;
      private static final int GC_NUM_MEDIUM = 3;
      private static final int GC_NUM_HIGH = 7;
      private static final int WASTE_PCT_SMALL = 10;
      private static final int WASTE_PCT_MEDIUM = 20;
< prev index next >