cidr: update vm options to be in sync with platform-wide defaults (-XX:ReservedCodeCacheSize=240m)

This commit is contained in:
Anton Makeev
2016-12-23 18:47:33 +01:00
parent ddac85ac57
commit 0bfb759889
@@ -46,6 +46,7 @@ class VmOptionsGenerator {
static String vmOptionsForArch(JvmArchitecture arch, ProductProperties productProperties) {
switch (arch) {
// NOTE: when changing, please review usages of ProductProperties.getCustomJvmMemoryOptionsX64 and synchronize if necessary
case JvmArchitecture.x32: return "-server -Xms128m -Xmx512m -XX:ReservedCodeCacheSize=240m"
case JvmArchitecture.x64: return productProperties.customJvmMemoryOptionsX64 ?: "-Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m"
}