Merge pull request #40 from Greelan/pz

Project Zomboid: Allow Java GC algo selection on Windows
This commit is contained in:
PhonicUK
2022-01-18 21:23:04 +00:00
committed by GitHub
2 changed files with 17 additions and 1 deletions

View File

@@ -55,6 +55,22 @@
"IncludeInCommandLine": false,
"DefaultValue": "4096"
},
{
"DisplayName": "Java Garbage Collection Algorithm (Windows)",
"Category": "Server Settings",
"Description": "Default Java garbage collection algorithm is ZGC, but G1GC can be selected for older Windows versions that cannot use ZGC",
"Keywords": "garbage,collection,algorithm",
"FieldName": "JavaGCAlgo",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "JavaGCAlgo",
"IncludeInCommandLine": false,
"DefaultValue": "-XX:+UseZGC",
"EnumValues": {
"-XX:+UseZGC": "ZGC Algorithm (default)",
"-XX:+UseG1GC": "G1GC Algorithm"
}
},
{
"DisplayName": "Additional Java Startup Parameters",
"Category": "Server Settings",