Forráskód Böngészése

HPCC-12782 Disable default for jvm using huge pages

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>
Mark Kelly 10 éve
szülő
commit
02900f0969
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      plugins/javaembed/javaembed.cpp

+ 5 - 1
plugins/javaembed/javaembed.cpp

@@ -121,9 +121,13 @@ public:
             optionStrings.append(libPath);
         }
 
+        // Options we should set (but allow for override with jvmoptions below)
+        optionStrings.append("-XX:-UseLargePages");
+
         if (conf && conf->hasProp("jvmoptions"))
         {
-            optionStrings.appendList(conf->queryProp("jvmoptions"), ENVSEPSTR);
+            // Use space as field sep as ':' and ';' are valid
+            optionStrings.appendList(conf->queryProp("jvmoptions"), " ");
         }
 
         // Options we know we always want set