# HG changeset patch # User thartmann # Date 1511892143 -3600 # Node ID 646ed97b7e0d9c13ce6abf79d990d50a01242c6e # Parent f913f6dba2d31855cbaa5d1e0abf63d2f8c06c61 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 diff -r f913f6dba2d3 -r 646ed97b7e0d 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") \