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

changeset 3714
f7a8920427a6
parent 3713
720b6a76dd9d
child 3731
8a2e5a6a19a4
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp	Wed Apr 18 07:21:15 2012 -0400
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp	Wed Apr 18 13:39:55 2012 -0400
     1.3 @@ -281,12 +281,8 @@
     1.4    size_t _prev_marked_bytes;    // Bytes known to be live via last completed marking.
     1.5    size_t _next_marked_bytes;    // Bytes known to be live via in-progress marking.
     1.6  
     1.7 -  // See "sort_index" method.  -1 means is not in the array.
     1.8 -  int _sort_index;
     1.9 -
    1.10 -  // <PREDICTION>
    1.11 +  // The calculated GC efficiency of the region.
    1.12    double _gc_efficiency;
    1.13 -  // </PREDICTION>
    1.14  
    1.15    enum YoungType {
    1.16      NotYoung,                   // a region is not young
    1.17 @@ -629,16 +625,6 @@
    1.18    // last mark phase ended.
    1.19    bool is_marked() { return _prev_top_at_mark_start != bottom(); }
    1.20  
    1.21 -  // If "is_marked()" is true, then this is the index of the region in
    1.22 -  // an array constructed at the end of marking of the regions in a
    1.23 -  // "desirability" order.
    1.24 -  int sort_index() {
    1.25 -    return _sort_index;
    1.26 -  }
    1.27 -  void set_sort_index(int i) {
    1.28 -    _sort_index = i;
    1.29 -  }
    1.30 -
    1.31    void init_top_at_conc_mark_count() {
    1.32      _top_at_conc_mark_count = bottom();
    1.33    }

mercurial