Closed totemo closed 4 years ago
You can use "java.cli-extra=" to do the java arguments raw without having to use the "java.cli.XX" in the mark2 config. I had the same issue as you until I figured this out myself many years ago.
"java-cli-extra=" will allow you to specify all the arguments straight up raw and in the exact order you put them in, just as if you were adding them to the end of your standard launch script.
We'd like to try to follow Aikar's advice on GC tuning options, stated here. But expressing those options with
java.cli.XX.
settings inmark2.properties
is impossible becausedict
order is arbitrary.The JVM is unhappy if
-XX:+UnlockExperimentalVMOptions
does not precede the experimental options.I don't know the
mark2
code base well enough to deriveProperties
fromcollection.OrderedDict
-mark2
locks up on start. Something to do with the way iteration is handled, I guess.This PR adds the configuration property
java.cli_prepend=<shell-quoted-jvm-args>
so that Aikar's options can be expressed as: