equal
deleted
inserted
replaced
132 |
132 |
133 // Return true if the reference points to an object that |
133 // Return true if the reference points to an object that |
134 // can be moved in a partial collection. For currently implemented |
134 // can be moved in a partial collection. For currently implemented |
135 // generational collectors that means during a collection of |
135 // generational collectors that means during a collection of |
136 // the young gen. |
136 // the young gen. |
137 virtual bool is_scavengable(const void* addr); |
137 virtual bool is_scavengable(oop obj); |
|
138 virtual void register_nmethod(nmethod* nm); |
|
139 virtual void verify_nmethod(nmethod* nmethod); |
138 |
140 |
139 size_t max_capacity() const; |
141 size_t max_capacity() const; |
140 |
142 |
141 // Whether p is in the allocated part of the heap |
143 // Whether p is in the allocated part of the heap |
142 bool is_in(const void* p) const; |
144 bool is_in(const void* p) const; |