Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/instanceKlass.hpp @ 23463:5cece4584b8e
8058563: InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
Reviewed-by: mgerdin, vlivanov
author | stefank |
---|---|
date | Thu, 12 Nov 2015 09:53:17 +0100 |
parents | c2c7fed86a5e |
children | b5f3a471e646 |
comparison
equal
deleted
inserted
replaced
23462:f46ffa934a46 | 23463:5cece4584b8e |
---|---|
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 |