equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_GC_G1_G1BARRIERSET_HPP |
25 #ifndef SHARE_VM_GC_G1_G1BARRIERSET_HPP |
26 #define SHARE_VM_GC_G1_G1BARRIERSET_HPP |
26 #define SHARE_VM_GC_G1_G1BARRIERSET_HPP |
27 |
27 |
28 #include "gc/shared/cardTableModRefBS.hpp" |
28 #include "gc/shared/cardTableBarrierSet.hpp" |
29 |
29 |
30 class DirtyCardQueueSet; |
30 class DirtyCardQueueSet; |
31 class CardTable; |
31 class CardTable; |
32 class G1CardTable; |
32 class G1CardTable; |
33 |
33 |
34 // This barrier is specialized to use a logging barrier to support |
34 // This barrier is specialized to use a logging barrier to support |
35 // snapshot-at-the-beginning marking. |
35 // snapshot-at-the-beginning marking. |
36 |
36 |
37 class G1BarrierSet: public CardTableModRefBS { |
37 class G1BarrierSet: public CardTableBarrierSet { |
38 friend class VMStructs; |
38 friend class VMStructs; |
39 private: |
39 private: |
40 DirtyCardQueueSet& _dcqs; |
40 DirtyCardQueueSet& _dcqs; |
41 |
41 |
42 public: |
42 public: |