Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/method.hpp @ 24042:d18eb5b5a3d6
8161144: Fix for JDK-8147451 failed: Crash in Method::checked_resolve_jmethod_id(_jmethodID*)
Summary: Method::deallocate_contents() should clear 'this' from list of Methods in JNIMethodBlock, when class is unloaded.
Reviewed-by: coleenp, dholmes
author | shshahma |
---|---|
date | Fri, 05 Aug 2016 10:47:35 +0000 |
parents | cb4af293fe70 |
children | 9b69cec6d01b |
comparison
equal
deleted
inserted
replaced
24041:56ff16dd9b8c | 24042:d18eb5b5a3d6 |
---|---|
766 vmIntrinsics::ID intrinsic_id() const { return (vmIntrinsics::ID) _intrinsic_id; } | 766 vmIntrinsics::ID intrinsic_id() const { return (vmIntrinsics::ID) _intrinsic_id; } |
767 void set_intrinsic_id(vmIntrinsics::ID id) { _intrinsic_id = (u1) id; } | 767 void set_intrinsic_id(vmIntrinsics::ID id) { _intrinsic_id = (u1) id; } |
768 | 768 |
769 // Helper routines for intrinsic_id() and vmIntrinsics::method(). | 769 // Helper routines for intrinsic_id() and vmIntrinsics::method(). |
770 void init_intrinsic_id(); // updates from _none if a match | 770 void init_intrinsic_id(); // updates from _none if a match |
771 void clear_jmethod_id(ClassLoaderData* loader_data); | |
772 | |
771 static vmSymbols::SID klass_id_for_intrinsics(Klass* holder); | 773 static vmSymbols::SID klass_id_for_intrinsics(Klass* holder); |
772 | 774 |
773 bool jfr_towrite() { return _jfr_towrite; } | 775 bool jfr_towrite() { return _jfr_towrite; } |
774 void set_jfr_towrite(bool x) { _jfr_towrite = x; } | 776 void set_jfr_towrite(bool x) { _jfr_towrite = x; } |
775 bool caller_sensitive() { return _caller_sensitive; } | 777 bool caller_sensitive() { return _caller_sensitive; } |