< prev index next >

test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java

Print this page
rev 9752 : [mq]: webrev.01


 119         /*
 120          * Exclude below options as their maximum value would consume too much memory
 121          * and would affect other tests that run in parallel.
 122          */
 123         excludeTestMaxRange("ConcGCThreads");
 124         excludeTestMaxRange("G1ConcRefinementThreads");
 125         excludeTestMaxRange("G1RSetRegionEntries");
 126         excludeTestMaxRange("G1RSetSparseRegionEntries");
 127         excludeTestMaxRange("G1UpdateBufferSize");
 128         excludeTestMaxRange("InitialBootClassLoaderMetaspaceSize");
 129         excludeTestMaxRange("InitialHeapSize");
 130         excludeTestMaxRange("MaxHeapSize");
 131         excludeTestMaxRange("MaxRAM");
 132         excludeTestMaxRange("NewSize");
 133         excludeTestMaxRange("OldSize");
 134         excludeTestMaxRange("ParallelGCThreads");
 135 
 136         excludeTestMaxRange("VMThreadStackSize");
 137 
 138         /*
 139          * JDK-8145027
 140          * Temporarily exclude as current range/constraint is not enough for some option combinations.
 141          */
 142         excludeTestRange("NUMAInterleaveGranularity");
 143 
 144         /*
 145          * Remove parameters controlling the code cache. As these
 146          * parameters have implications on the physical memory
 147          * reserved by the VM, setting them to large values may hang
 148          * the system and/or may cause concurrently executed tests to
 149          * fail. These parameters are rigorously checked when the code
 150          * cache is initialized (see
 151          * hotspot/src/shared/vm/code/codeCache.cpp), therefore
 152          * omitting testing for them does not pose a problem.
 153          */
 154         excludeTestMaxRange("InitialCodeCacheSize");
 155         excludeTestMaxRange("CodeCacheMinimumUseSpace");
 156         excludeTestMaxRange("ReservedCodeCacheSize");
 157         excludeTestMaxRange("NonProfiledCodeHeapSize");
 158         excludeTestMaxRange("ProfiledCodeHeapSize");
 159         excludeTestMaxRange("NonNMethodCodeHeapSize");
 160         excludeTestMaxRange("CodeCacheExpansionSize");
 161 
 162         allOptions = new ArrayList<>(allOptionsAsMap.values());
 163 
 164         Asserts.assertGT(allOptions.size(), 0, "Options with ranges not found!");


 119         /*
 120          * Exclude below options as their maximum value would consume too much memory
 121          * and would affect other tests that run in parallel.
 122          */
 123         excludeTestMaxRange("ConcGCThreads");
 124         excludeTestMaxRange("G1ConcRefinementThreads");
 125         excludeTestMaxRange("G1RSetRegionEntries");
 126         excludeTestMaxRange("G1RSetSparseRegionEntries");
 127         excludeTestMaxRange("G1UpdateBufferSize");
 128         excludeTestMaxRange("InitialBootClassLoaderMetaspaceSize");
 129         excludeTestMaxRange("InitialHeapSize");
 130         excludeTestMaxRange("MaxHeapSize");
 131         excludeTestMaxRange("MaxRAM");
 132         excludeTestMaxRange("NewSize");
 133         excludeTestMaxRange("OldSize");
 134         excludeTestMaxRange("ParallelGCThreads");
 135 
 136         excludeTestMaxRange("VMThreadStackSize");
 137 
 138         /*






 139          * Remove parameters controlling the code cache. As these
 140          * parameters have implications on the physical memory
 141          * reserved by the VM, setting them to large values may hang
 142          * the system and/or may cause concurrently executed tests to
 143          * fail. These parameters are rigorously checked when the code
 144          * cache is initialized (see
 145          * hotspot/src/shared/vm/code/codeCache.cpp), therefore
 146          * omitting testing for them does not pose a problem.
 147          */
 148         excludeTestMaxRange("InitialCodeCacheSize");
 149         excludeTestMaxRange("CodeCacheMinimumUseSpace");
 150         excludeTestMaxRange("ReservedCodeCacheSize");
 151         excludeTestMaxRange("NonProfiledCodeHeapSize");
 152         excludeTestMaxRange("ProfiledCodeHeapSize");
 153         excludeTestMaxRange("NonNMethodCodeHeapSize");
 154         excludeTestMaxRange("CodeCacheExpansionSize");
 155 
 156         allOptions = new ArrayList<>(allOptionsAsMap.values());
 157 
 158         Asserts.assertGT(allOptions.size(), 0, "Options with ranges not found!");
< prev index next >