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

changeset 2781
e1162778c1c8
parent 2606
0ac769a57c64
child 2784
92add02409c9
     1.1 --- a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp	Tue Apr 05 19:14:03 2011 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp	Thu Apr 07 09:53:20 2011 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -37,12 +37,11 @@
    1.11  // snapshot-at-the-beginning marking.
    1.12  
    1.13  class G1SATBCardTableModRefBS: public CardTableModRefBSForCTRS {
    1.14 -private:
    1.15 +public:
    1.16    // Add "pre_val" to a set of objects that may have been disconnected from the
    1.17    // pre-marking object graph.
    1.18    static void enqueue(oop pre_val);
    1.19  
    1.20 -public:
    1.21    G1SATBCardTableModRefBS(MemRegion whole_heap,
    1.22                            int max_covered_regions);
    1.23  
    1.24 @@ -61,10 +60,6 @@
    1.25      }
    1.26    }
    1.27  
    1.28 -  // When we know the current java thread:
    1.29 -  template <class T> static void write_ref_field_pre_static(T* field, oop newVal,
    1.30 -                                                            JavaThread* jt);
    1.31 -
    1.32    // We export this to make it available in cases where the static
    1.33    // type of the barrier set is known.  Note that it is non-virtual.
    1.34    template <class T> inline void inline_write_ref_field_pre(T* field, oop newVal) {

mercurial