8176565: G1 Does not perform heap verification after remark with VerifyAfterGC
thomas.schatzl at oracle.com
Tue Mar 14 11:16:30 UTC 2017
On Mon, 2017-03-13 at 15:58 +0100, Mikael Gerdin wrote:
> Hi all,
> Please review this small change to when G1 performs heap
> Background to this change is that it is fairly common knowledge that
> order to rule out GC bugs you should run with -XX:+VerifyBeforeGC
> In order to make it easier for people to get the kind of heap
> verification they expect we should have G1 perform a verification at
> end of the remark phase similar to what CMS does.
> Previously this verification has only been enabled with
> -XX:+VerifyDuringGC for G1 but that is a lesser known flag and I
> we should try to make it easier for our users to get the
> passes they expect.
> This is a low-risk fix and it will be good to have in 9.0 for
looks good to me.
More information about the hotspot-gc-dev