src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp

changeset 2784
92add02409c9
parent 2708
1d1603768966
parent 2781
e1162778c1c8
child 4542
db9981fd3124
     1.1 --- a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp	Wed Apr 06 16:02:53 2011 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp	Fri Apr 08 14:19:50 2011 -0700
     1.3 @@ -37,12 +37,11 @@
     1.4  // snapshot-at-the-beginning marking.
     1.5  
     1.6  class G1SATBCardTableModRefBS: public CardTableModRefBSForCTRS {
     1.7 -private:
     1.8 +public:
     1.9    // Add "pre_val" to a set of objects that may have been disconnected from the
    1.10    // pre-marking object graph.
    1.11    static void enqueue(oop pre_val);
    1.12  
    1.13 -public:
    1.14    G1SATBCardTableModRefBS(MemRegion whole_heap,
    1.15                            int max_covered_regions);
    1.16  
    1.17 @@ -61,10 +60,6 @@
    1.18      }
    1.19    }
    1.20  
    1.21 -  // When we know the current java thread:
    1.22 -  template <class T> static void write_ref_field_pre_static(T* field, oop newVal,
    1.23 -                                                            JavaThread* jt);
    1.24 -
    1.25    // We export this to make it available in cases where the static
    1.26    // type of the barrier set is known.  Note that it is non-virtual.
    1.27    template <class T> inline void inline_write_ref_field_pre(T* field, oop newVal) {

mercurial