< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page
rev 9431 : dihop-changes
rev 9433 : imported patch erik-jmasa-review
rev 9434 : imported patch fix-evac-failure-needs-stats
rev 9435 : [mq]: mikael-erik-review

*** 283,300 **** size_t _pending_cards; // The amount of allocated bytes in old gen during the last mutator and the following // young GC phase. ! size_t _last_old_allocated_bytes; G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed; public: const G1Predictions& predictor() const { return _predictor; } // Add the given number of bytes to the total number of allocated bytes in the old gen. ! void add_last_old_allocated_bytes(size_t bytes) { _last_old_allocated_bytes += bytes; } // Accessors void set_region_eden(HeapRegion* hr, int young_index_in_cset) { hr->set_eden(); --- 283,300 ---- size_t _pending_cards; // The amount of allocated bytes in old gen during the last mutator and the following // young GC phase. ! size_t _bytes_allocated_in_old_since_last_gc; G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed; public: const G1Predictions& predictor() const { return _predictor; } // Add the given number of bytes to the total number of allocated bytes in the old gen. ! void add_bytes_allocated_in_old_since_last_gc(size_t bytes) { _bytes_allocated_in_old_since_last_gc += bytes; } // Accessors void set_region_eden(HeapRegion* hr, int young_index_in_cset) { hr->set_eden();
< prev index next >