< prev index next >

test/gc/g1/TestShrinkAuxiliaryData.java

Print this page
rev 7209 : [mq]: inccms


 262             System.gc();
 263         }
 264 
 265         static long getMemoryUsedByTest() {
 266             return REGIONS_TO_ALLOCATE * REGION_SIZE;
 267         }
 268 
 269         private static final int REGION_SIZE = 1024 * 1024;
 270         private static final int DEFAULT_ITERATION_COUNT = 1;   // iterate main scenario
 271         private static final int REGIONS_TO_ALLOCATE = 5;
 272         private static final int NUM_OBJECTS_PER_REGION = 10;
 273         private static final int NUM_LINKS = 20; // how many links create for each object
 274 
 275         private static final String[] prohibitedVmOptions = {
 276             // remove this when @requires option will be on duty
 277             "-XX:\\+UseParallelGC",
 278             "-XX:\\+UseSerialGC",
 279             "-XX:\\+UseConcMarkSweepGC",
 280             "-XX:\\+UseParallelOldGC",
 281             "-XX:\\+UseParNewGC",
 282             "-Xconcgc",
 283             "-Xincgc"
 284         };
 285     }
 286 }


 262             System.gc();
 263         }
 264 
 265         static long getMemoryUsedByTest() {
 266             return REGIONS_TO_ALLOCATE * REGION_SIZE;
 267         }
 268 
 269         private static final int REGION_SIZE = 1024 * 1024;
 270         private static final int DEFAULT_ITERATION_COUNT = 1;   // iterate main scenario
 271         private static final int REGIONS_TO_ALLOCATE = 5;
 272         private static final int NUM_OBJECTS_PER_REGION = 10;
 273         private static final int NUM_LINKS = 20; // how many links create for each object
 274 
 275         private static final String[] prohibitedVmOptions = {
 276             // remove this when @requires option will be on duty
 277             "-XX:\\+UseParallelGC",
 278             "-XX:\\+UseSerialGC",
 279             "-XX:\\+UseConcMarkSweepGC",
 280             "-XX:\\+UseParallelOldGC",
 281             "-XX:\\+UseParNewGC",
 282             "-Xconcgc"

 283         };
 284     }
 285 }
< prev index next >