Mercurial > hg > graal-jvmci-8
comparison test/gc/g1/TestShrinkAuxiliaryData.java @ 22981:f967da7f0c3c
8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: tschatzl, jwilhelm
author | jwilhelm |
---|---|
date | Thu, 23 Apr 2015 15:59:48 +0200 |
parents | 7a6313074325 |
children | e5406a79ae90 |
comparison
equal
deleted
inserted
replaced
22980:974d7f3df726 | 22981:f967da7f0c3c |
---|---|
68 } | 68 } |
69 | 69 |
70 printTestInfo(maxCacheSize); | 70 printTestInfo(maxCacheSize); |
71 | 71 |
72 vmOpts.add("-XX:G1ConcRSLogCacheSize=" + RSetCacheSize); | 72 vmOpts.add("-XX:G1ConcRSLogCacheSize=" + RSetCacheSize); |
73 | 73 vmOpts.addAll(Arrays.asList(Utils.getTestJavaOpts())); |
74 vmOpts.addAll(Arrays.asList(Utils.getFilteredTestJavaOpts( | |
75 ShrinkAuxiliaryDataTest.prohibitedVmOptions))); | |
76 | 74 |
77 // for 32 bits ObjectAlignmentInBytes is not a option | 75 // for 32 bits ObjectAlignmentInBytes is not a option |
78 if (Platform.is32bit()) { | 76 if (Platform.is32bit()) { |
79 ArrayList<String> vmOptsWithoutAlign = new ArrayList(vmOpts); | 77 ArrayList<String> vmOptsWithoutAlign = new ArrayList(vmOpts); |
80 vmOptsWithoutAlign.add(ShrinkAuxiliaryDataTest.class.getName()); | 78 vmOptsWithoutAlign.add(ShrinkAuxiliaryDataTest.class.getName()); |
270 private static final int REGION_SIZE = 1024 * 1024; | 268 private static final int REGION_SIZE = 1024 * 1024; |
271 private static final int DEFAULT_ITERATION_COUNT = 1; // iterate main scenario | 269 private static final int DEFAULT_ITERATION_COUNT = 1; // iterate main scenario |
272 private static final int REGIONS_TO_ALLOCATE = 5; | 270 private static final int REGIONS_TO_ALLOCATE = 5; |
273 private static final int NUM_OBJECTS_PER_REGION = 10; | 271 private static final int NUM_OBJECTS_PER_REGION = 10; |
274 private static final int NUM_LINKS = 20; // how many links create for each object | 272 private static final int NUM_LINKS = 20; // how many links create for each object |
275 | |
276 private static final String[] prohibitedVmOptions = { | |
277 // remove this when @requires option will be on duty | |
278 "-XX:\\+UseParallelGC", | |
279 "-XX:\\+UseSerialGC", | |
280 "-XX:\\+UseConcMarkSweepGC", | |
281 "-XX:\\+UseParallelOldGC", | |
282 "-XX:\\+UseParNewGC", | |
283 "-Xconcgc", | |
284 "-Xincgc" | |
285 }; | |
286 } | 273 } |
287 } | 274 } |