783 JNIid* jni_id_for(int offset); |
783 JNIid* jni_id_for(int offset); |
784 |
784 |
785 // maintenance of deoptimization dependencies |
785 // maintenance of deoptimization dependencies |
786 int mark_dependent_nmethods(DepChange& changes); |
786 int mark_dependent_nmethods(DepChange& changes); |
787 void add_dependent_nmethod(nmethod* nm); |
787 void add_dependent_nmethod(nmethod* nm); |
788 void remove_dependent_nmethod(nmethod* nm); |
788 void remove_dependent_nmethod(nmethod* nm, bool delete_immediately); |
789 |
789 |
790 // On-stack replacement support |
790 // On-stack replacement support |
791 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; }; |
791 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; }; |
792 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; }; |
792 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; }; |
793 void add_osr_nmethod(nmethod* n); |
793 void add_osr_nmethod(nmethod* n); |
972 |
972 |
973 // Garbage collection |
973 // Garbage collection |
974 void oop_follow_contents(oop obj); |
974 void oop_follow_contents(oop obj); |
975 int oop_adjust_pointers(oop obj); |
975 int oop_adjust_pointers(oop obj); |
976 |
976 |
|
977 void clean_weak_instanceklass_links(BoolObjectClosure* is_alive); |
977 void clean_implementors_list(BoolObjectClosure* is_alive); |
978 void clean_implementors_list(BoolObjectClosure* is_alive); |
978 void clean_method_data(BoolObjectClosure* is_alive); |
979 void clean_method_data(BoolObjectClosure* is_alive); |
979 void clean_dependent_nmethods(); |
980 void clean_dependent_nmethods(); |
980 |
981 |
981 // Explicit metaspace deallocation of fields |
982 // Explicit metaspace deallocation of fields |