< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMark.hpp

Print this page
rev 49537 : imported patch 8200385-prev-bitmap-marks-left
rev 49539 : imported patch 8178105-switch-at-remark
rev 49543 : imported patch 8154528-reclaim-at-remark
rev 49547 : imported patch 8200426-sangheon-review
rev 49551 : imported patch 8201172-parallelize-remark-phase

*** 462,472 **** HeapWord* volatile* _top_at_rebuild_starts; public: void add_to_liveness(uint worker_id, oop const obj, size_t size); // Liveness of the given region as determined by concurrent marking, i.e. the amount of // live words between bottom and nTAMS. ! size_t liveness(uint region) { return _region_mark_stats[region]._live_words; } // Sets the internal top_at_region_start for the given region to current top of the region. inline void update_top_at_rebuild_start(HeapRegion* r); // TARS for the given region during remembered set rebuilding. inline HeapWord* top_at_rebuild_start(uint region) const; --- 462,472 ---- HeapWord* volatile* _top_at_rebuild_starts; public: void add_to_liveness(uint worker_id, oop const obj, size_t size); // Liveness of the given region as determined by concurrent marking, i.e. the amount of // live words between bottom and nTAMS. ! size_t liveness(uint region) const { return _region_mark_stats[region]._live_words; } // Sets the internal top_at_region_start for the given region to current top of the region. inline void update_top_at_rebuild_start(HeapRegion* r); // TARS for the given region during remembered set rebuilding. inline HeapWord* top_at_rebuild_start(uint region) const;
*** 837,847 **** // Class that's used to to print out per-region liveness // information. It's currently used at the end of marking and also // after we sort the old regions at the end of the cleanup operation. class G1PrintRegionLivenessInfoClosure : public HeapRegionClosure { - private: // Accumulators for these values. size_t _total_used_bytes; size_t _total_capacity_bytes; size_t _total_prev_live_bytes; size_t _total_next_live_bytes; --- 837,846 ----
< prev index next >