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

changeset 3028
f44782f04dd4
parent 2969
6747fd0512e0
child 3175
4dfb2df418f2
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp	Thu Aug 11 11:36:29 2011 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp	Fri Aug 12 11:31:06 2011 -0400
     1.3 @@ -251,10 +251,6 @@
     1.4    // True iff the region is in current collection_set.
     1.5    bool _in_collection_set;
     1.6  
     1.7 -  // Is this or has it been an allocation region in the current collection
     1.8 -  // pause.
     1.9 -  bool _is_gc_alloc_region;
    1.10 -
    1.11    // True iff an attempt to evacuate an object in the region failed.
    1.12    bool _evacuation_failed;
    1.13  
    1.14 @@ -497,27 +493,6 @@
    1.15      _next_in_special_set = r;
    1.16    }
    1.17  
    1.18 -  // True iff it is or has been an allocation region in the current
    1.19 -  // collection pause.
    1.20 -  bool is_gc_alloc_region() const {
    1.21 -    return _is_gc_alloc_region;
    1.22 -  }
    1.23 -  void set_is_gc_alloc_region(bool b) {
    1.24 -    _is_gc_alloc_region = b;
    1.25 -  }
    1.26 -  HeapRegion* next_gc_alloc_region() {
    1.27 -    assert(is_gc_alloc_region(), "should only invoke on member of CS.");
    1.28 -    assert(_next_in_special_set == NULL ||
    1.29 -           _next_in_special_set->is_gc_alloc_region(),
    1.30 -           "Malformed CS.");
    1.31 -    return _next_in_special_set;
    1.32 -  }
    1.33 -  void set_next_gc_alloc_region(HeapRegion* r) {
    1.34 -    assert(is_gc_alloc_region(), "should only invoke on member of CS.");
    1.35 -    assert(r == NULL || r->is_gc_alloc_region(), "Malformed CS.");
    1.36 -    _next_in_special_set = r;
    1.37 -  }
    1.38 -
    1.39    // Methods used by the HeapRegionSetBase class and subclasses.
    1.40  
    1.41    // Getter and setter for the next field used to link regions into

mercurial