8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range
authorthartmann
Tue, 28 Nov 2017 19:02:23 +0100
changeset 48146 646ed97b7e0d
parent 48145 f913f6dba2d3
child 48147 1b57d99567ed
8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range Summary: Adjusted minimum value according to platform specific default values. Reviewed-by: kvn
src/hotspot/share/runtime/globals.hpp
--- a/src/hotspot/share/runtime/globals.hpp	Tue Nov 28 11:59:16 2017 +0100
+++ b/src/hotspot/share/runtime/globals.hpp	Tue Nov 28 19:02:23 2017 +0100
@@ -3392,7 +3392,7 @@
                                                                             \
   product_pd(uintx, CodeCacheExpansionSize,                                 \
           "Code cache expansion size (in bytes)")                           \
-          range(os::vm_page_size(), max_uintx)                              \
+          range(32*K, max_uintx)                                            \
                                                                             \
   diagnostic_pd(uintx, CodeCacheMinBlockLength,                             \
           "Minimum number of segments in a code cache block")               \