[External] : Re: ZGC unstable behaviour on java 17

Thomas Stüfe thomas.stuefe at gmail.com
Wed Nov 10 13:14:27 UTC 2021

> According to *Risks and Assumptions#Uncommit speed* (
> https://openjdk.java.net/jeps/387):
> "Metaspace reclamation can happen during a garbage-collection pause, so
> this could be a problem.
> We haven’t observed this problem so far, but if uncommit times become an
> issue then we could offload the uncommitting work to a separate thread so
> that it could be done independently of GC pauses."
This is why I recommended attempting MetaspaceReclaimPolicy=none. If that
one mitigates the issue, we have a problem with metaspace uncommit speed.

Cheers, Thomas

More information about the zgc-dev mailing list