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

changeset 6911
ce8f6bb717c9
parent 6735
a45a4f5a9609
child 6926
d7e2d5f2846b
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Wed Jul 02 22:54:18 2014 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Tue Apr 29 15:17:27 2014 +0200
     1.3 @@ -1124,20 +1124,11 @@
     1.4      return _gc_time_stamp;
     1.5    }
     1.6  
     1.7 -  void reset_gc_time_stamp() {
     1.8 -    _gc_time_stamp = 0;
     1.9 -    OrderAccess::fence();
    1.10 -    // Clear the cached CSet starting regions and time stamps.
    1.11 -    // Their validity is dependent on the GC timestamp.
    1.12 -    clear_cset_start_regions();
    1.13 -  }
    1.14 +  inline void reset_gc_time_stamp();
    1.15  
    1.16    void check_gc_time_stamps() PRODUCT_RETURN;
    1.17  
    1.18 -  void increment_gc_time_stamp() {
    1.19 -    ++_gc_time_stamp;
    1.20 -    OrderAccess::fence();
    1.21 -  }
    1.22 +  inline void increment_gc_time_stamp();
    1.23  
    1.24    // Reset the given region's GC timestamp. If it's starts humongous,
    1.25    // also reset the GC timestamp of its corresponding

mercurial