RFR(XS): 8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range
tobias.hartmann at oracle.com
Tue Nov 28 17:32:12 UTC 2017
please review the following fix:
JDK-8179026  set the minimum CodeCacheExpansionSize to vm_page_size() because in CodeCache::initialize() we align to
page size anyway. However, there are platforms where the default CodeCacheExpansionSize is 32*K which might be <
vm_page_size(). I've fixed this by setting the minimum value to 32*K.
A better fix would be to set the default value to os::vm_page_size() (see ) but that would require including
runtime/os.hpp which introduces circular dependencies.
Thanks to Adrian for reporting this .
More information about the hotspot-compiler-dev