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.
|