--- old/src/hotspot/share/runtime/globals.hpp 2017-11-17 16:58:16.335834250 -0500 +++ new/src/hotspot/share/runtime/globals.hpp 2017-11-17 16:58:16.171834252 -0500 @@ -3353,7 +3353,7 @@ \ product_pd(uintx, InitialCodeCacheSize, \ "Initial code cache size (in bytes)") \ - range(0, max_uintx) \ + range(os::vm_page_size(), max_uintx) \ \ develop_pd(uintx, CodeCacheMinimumUseSpace, \ "Minimum code cache size (in bytes) required to start VM.") \ @@ -3364,7 +3364,7 @@ \ product_pd(uintx, ReservedCodeCacheSize, \ "Reserved code cache size (in bytes) - maximum code cache size") \ - range(0, max_uintx) \ + range(os::vm_page_size(), max_uintx) \ \ product_pd(uintx, NonProfiledCodeHeapSize, \ "Size of code heap with non-profiled methods (in bytes)") \ @@ -3376,11 +3376,11 @@ \ product_pd(uintx, NonNMethodCodeHeapSize, \ "Size of code heap with non-nmethods (in bytes)") \ - range(0, max_uintx) \ + range(os::vm_page_size(), max_uintx) \ \ product_pd(uintx, CodeCacheExpansionSize, \ "Code cache expansion size (in bytes)") \ - range(0, max_uintx) \ + range(os::vm_page_size(), max_uintx) \ \ diagnostic_pd(uintx, CodeCacheMinBlockLength, \ "Minimum number of segments in a code cache block") \