equal
deleted
inserted
replaced
155 // Return "true" if all generations have reached the |
155 // Return "true" if all generations have reached the |
156 // maximal committed limit that they can reach, without a garbage |
156 // maximal committed limit that they can reach, without a garbage |
157 // collection. |
157 // collection. |
158 virtual bool is_maximal_no_gc() const; |
158 virtual bool is_maximal_no_gc() const; |
159 |
159 |
160 // Return true if the reference points to an object that |
|
161 // can be moved in a partial collection. For currently implemented |
|
162 // generational collectors that means during a collection of |
|
163 // the young gen. |
|
164 virtual bool is_scavengable(oop obj); |
|
165 virtual void register_nmethod(nmethod* nm); |
160 virtual void register_nmethod(nmethod* nm); |
166 virtual void verify_nmethod(nmethod* nmethod); |
161 virtual void unregister_nmethod(nmethod* nm); |
|
162 virtual void verify_nmethod(nmethod* nm); |
|
163 virtual void flush_nmethod(nmethod* nm); |
|
164 |
|
165 void prune_nmethods(); |
167 |
166 |
168 size_t max_capacity() const; |
167 size_t max_capacity() const; |
169 |
168 |
170 // Whether p is in the allocated part of the heap |
169 // Whether p is in the allocated part of the heap |
171 bool is_in(const void* p) const; |
170 bool is_in(const void* p) const; |