133 |
133 |
134 // Informs the RS that there are no references to generations |
134 // Informs the RS that there are no references to generations |
135 // younger than gen from generations gen and older. |
135 // younger than gen from generations gen and older. |
136 // The parameter clear_perm indicates if the perm_gen's |
136 // The parameter clear_perm indicates if the perm_gen's |
137 // remembered set should also be processed/cleared. |
137 // remembered set should also be processed/cleared. |
138 virtual void clear_into_younger(Generation* gen) = 0; |
138 virtual void clear_into_younger(Generation* old_gen) = 0; |
139 |
139 |
140 // Informs the RS that refs in the given "mr" may have changed |
140 // Informs the RS that refs in the given "mr" may have changed |
141 // arbitrarily, and therefore may contain old-to-young pointers. |
141 // arbitrarily, and therefore may contain old-to-young pointers. |
142 // If "whole heap" is true, then this invalidation is part of an |
142 // If "whole heap" is true, then this invalidation is part of an |
143 // invalidation of the whole heap, which an implementation might |
143 // invalidation of the whole heap, which an implementation might |
145 virtual void invalidate(MemRegion mr, bool whole_heap = false) = 0; |
145 virtual void invalidate(MemRegion mr, bool whole_heap = false) = 0; |
146 |
146 |
147 // Informs the RS that refs in this generation |
147 // Informs the RS that refs in this generation |
148 // may have changed arbitrarily, and therefore may contain |
148 // may have changed arbitrarily, and therefore may contain |
149 // old-to-young pointers in arbitrary locations. |
149 // old-to-young pointers in arbitrary locations. |
150 virtual void invalidate_or_clear(Generation* gen) = 0; |
150 virtual void invalidate_or_clear(Generation* old_gen) = 0; |
151 }; |
151 }; |
152 |
152 |
153 #endif // SHARE_VM_MEMORY_GENREMSET_HPP |
153 #endif // SHARE_VM_MEMORY_GENREMSET_HPP |