Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 4090:a88de71c4e3a
7097002: G1: remove a lot of unused / redundant code from the G1CollectorPolicy class
Summary: Major cleanup of the G1CollectorPolicy class. It removes a lot of unused fields and methods and also consolidates replicated information (mainly various ways of counting the number of CSet regions) into one copy.
Reviewed-by: johnc, brutisso
author | tonyp |
---|---|
date | Fri, 18 Nov 2011 12:52:27 -0500 |
parents | 53074c2c4600 |
children | bca17e38de00 |
comparison
equal
deleted
inserted
replaced
4077:b1754f3fbbd8 | 4090:a88de71c4e3a |
---|---|
1608 HeapRegion* pop_dirty_cards_region(); | 1608 HeapRegion* pop_dirty_cards_region(); |
1609 | 1609 |
1610 public: | 1610 public: |
1611 void stop_conc_gc_threads(); | 1611 void stop_conc_gc_threads(); |
1612 | 1612 |
1613 // <NEW PREDICTION> | |
1614 | |
1615 double predict_region_elapsed_time_ms(HeapRegion* hr, bool young); | 1613 double predict_region_elapsed_time_ms(HeapRegion* hr, bool young); |
1616 void check_if_region_is_too_expensive(double predicted_time_ms); | 1614 void check_if_region_is_too_expensive(double predicted_time_ms); |
1617 size_t pending_card_num(); | 1615 size_t pending_card_num(); |
1618 size_t max_pending_card_num(); | 1616 size_t max_pending_card_num(); |
1619 size_t cards_scanned(); | 1617 size_t cards_scanned(); |
1620 | |
1621 // </NEW PREDICTION> | |
1622 | 1618 |
1623 protected: | 1619 protected: |
1624 size_t _max_heap_capacity; | 1620 size_t _max_heap_capacity; |
1625 }; | 1621 }; |
1626 | 1622 |