GCGC icon indicating copy to clipboard operation
GCGC copied to clipboard

Generational ZGC Support

Open DanielThomas opened this issue 3 years ago • 1 comments

Generational ZGC adds 'Minor' and 'Major' to the label causing the (?:Garbage Collection) group not to match:

[2022-11-22T04:18:09.618+0000][1583.644s][5085][info ][gc               ] GC(163) Minor Garbage Collection (High Usage) 42238M(95%)->16152M(36%) 0.641s

It's also not aware of generations, so the heap filled metrics get confused when a major collection happens. Log attached for convenience:

GenZGC.log.zip

DanielThomas avatar Nov 22 '22 22:11 DanielThomas

I think this was addressed recently with https://github.com/apple/GCGC/commit/9e15caab3ee3f346abb78bf72712df8ed9dabd3d

ivankrylov avatar Aug 20 '24 12:08 ivankrylov

Let's close this issue since Gen ZGC support is now implemented. If it does not work as expected, please file another issue!

bmathiske avatar Nov 04 '24 14:11 bmathiske