Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 6611:7383557659bd
7185699: G1: Prediction model discrepancies
Summary: Correct the result value of G1CollectedHeap::pending_card_num(). Change the code that calculates the GC efficiency of a non-young heap region to use historical data from mixed GCs and the actual number of live bytes when predicting how long it would take to collect the region. Changes were also reviewed by Thomas Schatzl.
Reviewed-by: azeemj, brutisso
author | johnc |
---|---|
date | Tue, 21 Aug 2012 14:10:39 -0700 |
parents | aaf61e68b255 |
children | bb3f6194fedb |
comparison
equal
deleted
inserted
replaced
6610:f99a36499b8c | 6611:7383557659bd |
---|---|
1704 | 1704 |
1705 public: | 1705 public: |
1706 void stop_conc_gc_threads(); | 1706 void stop_conc_gc_threads(); |
1707 | 1707 |
1708 size_t pending_card_num(); | 1708 size_t pending_card_num(); |
1709 size_t max_pending_card_num(); | |
1710 size_t cards_scanned(); | 1709 size_t cards_scanned(); |
1711 | 1710 |
1712 protected: | 1711 protected: |
1713 size_t _max_heap_capacity; | 1712 size_t _max_heap_capacity; |
1714 }; | 1713 }; |