1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Wed Jan 18 09:50:16 2012 -0800 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Wed Feb 15 13:06:53 2012 -0500 1.3 @@ -1182,6 +1182,12 @@ 1.4 bool free_regions_coming() { return _free_regions_coming; } 1.5 void wait_while_free_regions_coming(); 1.6 1.7 + // Determine whether the given region is one that we are using as an 1.8 + // old GC alloc region. 1.9 + bool is_old_gc_alloc_region(HeapRegion* hr) { 1.10 + return hr == _retained_old_gc_alloc_region; 1.11 + } 1.12 + 1.13 // Perform a collection of the heap; intended for use in implementing 1.14 // "System.gc". This probably implies as full a collection as the 1.15 // "CollectedHeap" supports. 1.16 @@ -1662,8 +1668,6 @@ 1.17 public: 1.18 void stop_conc_gc_threads(); 1.19 1.20 - double predict_region_elapsed_time_ms(HeapRegion* hr, bool young); 1.21 - void check_if_region_is_too_expensive(double predicted_time_ms); 1.22 size_t pending_card_num(); 1.23 size_t max_pending_card_num(); 1.24 size_t cards_scanned();