8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range

Adjusted minimum value according to platform specific default values.

Reviewed-by: kvn
This commit is contained in:
Tobias Hartmann 2017-11-28 19:02:23 +01:00
parent 386e258e20
commit 6f31e2eada

View File

@ -3392,7 +3392,7 @@ public:
\ \
product_pd(uintx, CodeCacheExpansionSize, \ product_pd(uintx, CodeCacheExpansionSize, \
"Code cache expansion size (in bytes)") \ "Code cache expansion size (in bytes)") \
range(os::vm_page_size(), max_uintx) \ range(32*K, max_uintx) \
\ \
diagnostic_pd(uintx, CodeCacheMinBlockLength, \ diagnostic_pd(uintx, CodeCacheMinBlockLength, \
"Minimum number of segments in a code cache block") \ "Minimum number of segments in a code cache block") \