Allow Java GC algo selection on Windows

This commit is contained in:
Greelan
2022-01-17 21:12:03 +11:00
parent 2dfee9e0c5
commit 802f6ea8fa
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",