we are currently using G1GC which does not honour/support UseGCOverheadLimit, so our app is sometimes completely stuck in GC-thrashing and the jvm never aborts/crashes.
Just checking which options we do have, according to this overview the latest GC is ZGC but I can't find anything whether ZGC actually supports the overhead limit?
Use this simple command to verify if that JVM option is enabled: