JDK-8051973 : Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-25
  • Updated: 2015-01-21
  • Resolved: 2014-07-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u40Fixed 9 b28Fixed
Related Reports
Relates :  
Description
Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap, causing verification to fail.

I.e. run gc/ArrayJuggle/Juggle34 with -XX:+G1VerifyBitmaps (and enabled eager reclaim) to reproduce.
Comments
The changeset includes a new regression test for this issue. The test lists this bugid in the @bug list. No "noreg" Label necessary.
10-10-2014

I=M, verification failure in debug builds with G1VerifyBitmaps enabled L=M, requires some circumstances to align up, won't happen every time the vm is started W=L, disable G1VerifyBitmaps, a debug verification flag MML=>P4
29-07-2014