< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp

Print this page
*** 51,6 ***
--- 51,42 ---
    // no need to subtract the bottom of the heap from p,
    // _biased_cset_map is biased
    return _biased_cset_map[index] == 1;
  }
  
+ void ShenandoahCollectionSet::set_immediate_trash(size_t immediate_trash) {
+   _immediate_trash = immediate_trash;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_immediate_trash() {
+   return _immediate_trash;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_old_bytes_reserved_for_evacuation() {
+   return _old_bytes_to_evacuate;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_young_bytes_reserved_for_evacuation() {
+   return _young_bytes_to_evacuate - _young_bytes_to_promote;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_young_bytes_to_be_promoted() {
+   return _young_bytes_to_promote;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_bytes_reserved_for_evacuation() {
+   return _young_bytes_to_evacuate + _old_bytes_to_evacuate;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_old_region_count() {
+   return _old_region_count;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_young_region_count() {
+   return _young_region_count;
+ }
+ 
+ size_t ShenandoahCollectionSet::get_old_garbage() {
+   return _old_garbage;
+ }
+ 
  #endif // SHARE_GC_SHENANDOAH_SHENANDOAHCOLLECTIONSET_INLINE_HPP
< prev index next >