Browse Source

Timings - Check G1GC

master
DrBot7 4 years ago
parent
commit
5da641673f
  1. 7
      cogs/timings_public.py

7
cogs/timings_public.py

@ -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(" ")

Loading…
Cancel
Save