When Java threads relocate objects, ZGC will over-report number of reclaimed bytes and under-report amount of garbage left after GC. This happens because the logic calculating the total number of reclaimed bytes assumes all objects where relocated by GC workers. The result is that the information printed in the GC log can be skewed.
- duplicates
-
JDK-8260646 ZGC: Fix incorrectly reported Garbage/Reclaimed bytes
-
- Closed
-