equal
deleted
inserted
replaced
1130 |
1130 |
1131 inline void old_set_add(HeapRegion* hr); |
1131 inline void old_set_add(HeapRegion* hr); |
1132 inline void old_set_remove(HeapRegion* hr); |
1132 inline void old_set_remove(HeapRegion* hr); |
1133 |
1133 |
1134 size_t non_young_capacity_bytes() { |
1134 size_t non_young_capacity_bytes() { |
1135 return _old_set.total_capacity_bytes() + _humongous_set.total_capacity_bytes(); |
1135 return (_old_set.length() + _humongous_set.length()) * HeapRegion::GrainBytes; |
1136 } |
1136 } |
1137 |
1137 |
1138 void set_free_regions_coming(); |
1138 void set_free_regions_coming(); |
1139 void reset_free_regions_coming(); |
1139 void reset_free_regions_coming(); |
1140 bool free_regions_coming() { return _free_regions_coming; } |
1140 bool free_regions_coming() { return _free_regions_coming; } |
1155 jint len); |
1155 jint len); |
1156 |
1156 |
1157 // True iff an evacuation has failed in the most-recent collection. |
1157 // True iff an evacuation has failed in the most-recent collection. |
1158 bool evacuation_failed() { return _evacuation_failed; } |
1158 bool evacuation_failed() { return _evacuation_failed; } |
1159 |
1159 |
1160 void remove_from_old_sets(const HeapRegionSetCount& old_regions_removed, const HeapRegionSetCount& humongous_regions_removed); |
1160 void remove_from_old_sets(const uint old_regions_removed, const uint humongous_regions_removed); |
1161 void prepend_to_freelist(FreeRegionList* list); |
1161 void prepend_to_freelist(FreeRegionList* list); |
1162 void decrement_summary_bytes(size_t bytes); |
1162 void decrement_summary_bytes(size_t bytes); |
1163 |
1163 |
1164 virtual bool is_in(const void* p) const; |
1164 virtual bool is_in(const void* p) const; |
1165 #ifdef ASSERT |
1165 #ifdef ASSERT |