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