JDK-8025305 : Cleanup CardTableModRefBS usage in G1
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P3
  • Affected Version: hs25
  • Submit Date: 2013-09-24
  • Updated Date: 2014-10-15
  • Resolved Date: 2013-09-27
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u60Fixed 8Resolved
Description
CardTableModRefBS contains a bunch of G1 specific code.
G1CollectedHeap has two pointers to the same BarrierSet instance and has a lot of downcasts from BarrierSet to CardTableModRefBS, but G1 will only ever work with G1SATBCardTableModRefBS.

The fix for JDK-8014555 will be much cleaner if we move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS.
Comments
critical request labels belong on master bug.Fixing this one up.
2014-02-10