--- a/hotspot/src/share/vm/gc/g1/g1SATBCardTableModRefBS.hpp Thu Oct 08 10:25:45 2015 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1SATBCardTableModRefBS.hpp Thu Oct 08 12:49:30 2015 -1000
@@ -38,6 +38,7 @@
// snapshot-at-the-beginning marking.
class G1SATBCardTableModRefBS: public CardTableModRefBS {
+ friend class VMStructs;
protected:
enum G1CardValues {
g1_young_gen = CT_MR_BS_last_reserved << 1
@@ -122,6 +123,9 @@
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<>