1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.hpp Wed Mar 25 10:36:08 2009 -0400 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp Wed Mar 25 13:10:54 2009 -0700 1.3 @@ -238,15 +238,6 @@ 1.4 // See "sort_index" method. -1 means is not in the array. 1.5 int _sort_index; 1.6 1.7 - // Means it has (or at least had) a very large RS, and should not be 1.8 - // considered for membership in a collection set. 1.9 - enum PopularityState { 1.10 - NotPopular, 1.11 - PopularPending, 1.12 - Popular 1.13 - }; 1.14 - PopularityState _popularity; 1.15 - 1.16 // <PREDICTION> 1.17 double _gc_efficiency; 1.18 // </PREDICTION> 1.19 @@ -433,10 +424,6 @@ 1.20 _next_in_special_set = r; 1.21 } 1.22 1.23 - bool is_reserved() { 1.24 - return popular(); 1.25 - } 1.26 - 1.27 bool is_on_free_list() { 1.28 return _is_on_free_list; 1.29 } 1.30 @@ -609,23 +596,6 @@ 1.31 init_top_at_mark_start(); 1.32 } 1.33 1.34 - bool popular() { return _popularity == Popular; } 1.35 - void set_popular(bool b) { 1.36 - if (b) { 1.37 - _popularity = Popular; 1.38 - } else { 1.39 - _popularity = NotPopular; 1.40 - } 1.41 - } 1.42 - bool popular_pending() { return _popularity == PopularPending; } 1.43 - void set_popular_pending(bool b) { 1.44 - if (b) { 1.45 - _popularity = PopularPending; 1.46 - } else { 1.47 - _popularity = NotPopular; 1.48 - } 1.49 - } 1.50 - 1.51 // <PREDICTION> 1.52 void calc_gc_efficiency(void); 1.53 double gc_efficiency() { return _gc_efficiency;}