< prev index next >
src/share/vm/gc/g1/g1SATBCardTableModRefBS.hpp
Print this page
@@ -36,10 +36,11 @@
// This barrier is specialized to use a logging barrier to support
// snapshot-at-the-beginning marking.
class G1SATBCardTableModRefBS: public CardTableModRefBS {
+ friend class VMStructs;
protected:
enum G1CardValues {
g1_young_gen = CT_MR_BS_last_reserved << 1
};
@@ -120,10 +121,13 @@
bool is_card_deferred(size_t card_index) {
jbyte val = _byte_map[card_index];
return (val & (clean_card_mask_val() | deferred_card_val())) == deferred_card_val();
}
+ virtual void write_ref_nmethod_pre(oop* dst, nmethod* nm);
+ virtual void write_ref_nmethod_post(oop* dst, nmethod* nm);
+
};
template<>
struct BarrierSet::GetName<G1SATBCardTableModRefBS> {
static const BarrierSet::Name value = BarrierSet::G1SATBCT;
< prev index next >