test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java Tue Oct 6 12:32:55 2015
--- new/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java Tue Oct 6 12:32:54 2015
*** 49,58 ****
--- 49,76 ----
/*
* Remove CICompilerCount from testing because currently it can hang system
*/
allOptionsAsMap.remove("CICompilerCount");
+ /*
+ * Remove parameters controlling the code cache. As these
+ * parameters have implications on the physical memory
+ * reserved by the VM, setting them to large values may hang
+ * the system and/or may cause concurrently executed tests to
+ * fail. These parameters are rigorously checked when the code
+ * cache is initialized (see
+ * hotspot/src/shared/vm/code/codeCache.cpp), therefore
+ * omitting testing for them does not pose a problem.
+ */
+ allOptionsAsMap.remove("InitialCodeCacheSize");
+ allOptionsAsMap.remove("CodeCacheMinimumUseSpace");
+ allOptionsAsMap.remove("ReservedCodeCacheSize");
+ allOptionsAsMap.remove("NonProfiledCodeHeapSize");
+ allOptionsAsMap.remove("ProfiledCodeHeapSize");
+ allOptionsAsMap.remove("NonNMethodCodeHeapSize");
+ allOptionsAsMap.remove("CodeCacheExpansionSize");
+
allOptions = new ArrayList<>(allOptionsAsMap.values());
Asserts.assertGT(allOptions.size(), 0, "Options with ranges not found!");
System.out.println("Parsed " + allOptions.size() + " options with ranges. Start test!");
test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File