|
|
@ -104,10 +104,13 @@ class Timings(commands.Cog): |
|
|
|
elif "-Daikars.new.flags=true" in flags: |
|
|
|
if "-XX:+PerfDisableSharedMem" not in flags: |
|
|
|
embed_var.add_field(name="❌ Outdated Flags", |
|
|
|
value="Add `-XX:+PerfDisableSharedMem` to flags") |
|
|
|
value="Add `-XX:+PerfDisableSharedMem` to flags.") |
|
|
|
if "XX:G1MixedGCCountTarget=4" not in flags: |
|
|
|
embed_var.add_field(name="❌ Outdated Flags", |
|
|
|
value="Add `-XX:G1MixedGCCountTarget=4` to flags") |
|
|
|
value="Add `-XX:G1MixedGCCountTarget=4` to flags.") |
|
|
|
if "-XX:+UseG1GC" not in flags: |
|
|
|
embed_var.add_field(name="❌ Aikar's Flags", |
|
|
|
value="You must use G1GC when using Aikar's flags.") |
|
|
|
if "-Xmx" in flags: |
|
|
|
max_mem = 0 |
|
|
|
flaglist = flags.split(" ") |
|
|
|