Currently the g1 remembered set and liveness heap verification checks G1MaxVerifyFailures after having processed a single object.
If that object has many references, this can lead to lots and lots of errors being printed before that limit is observed.
The limit does not need to be precise, but it should avoid filling the disk/log on e.g. a large object array with lots of failing references.
If that object has many references, this can lead to lots and lots of errors being printed before that limit is observed.
The limit does not need to be precise, but it should avoid filling the disk/log on e.g. a large object array with lots of failing references.