src/share/vm/oops/method.cpp

changeset 26
ed5b982c0b0e
parent 1
2d8a650513c2
child 6876
710a3c8b516e
equal deleted inserted replaced
25:873fd82b133d 26:ed5b982c0b0e
18 * 18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */
24
25 /*
26 * This file has been modified by Loongson Technology in 2015. These
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made
28 * available on the same license terms set forth above.
29 */ 23 */
30 24
31 #include "precompiled.hpp" 25 #include "precompiled.hpp"
32 #include "classfile/metadataOnStackMark.hpp" 26 #include "classfile/metadataOnStackMark.hpp"
33 #include "classfile/systemDictionary.hpp" 27 #include "classfile/systemDictionary.hpp"
108 102
109 if (access_flags.is_native()) { 103 if (access_flags.is_native()) {
110 clear_native_function(); 104 clear_native_function();
111 set_signature_handler(NULL); 105 set_signature_handler(NULL);
112 } 106 }
113 #ifdef MIPS64 107
114 set_num_of_requests(0);
115 set_decay_counter(0);
116 #endif
117 NOT_PRODUCT(set_compiled_invocation_count(0);) 108 NOT_PRODUCT(set_compiled_invocation_count(0);)
118 } 109 }
119 110
120 // Release Method*. The nmethod will be gone when we get here because 111 // Release Method*. The nmethod will be gone when we get here because
121 // we've walked the code cache. 112 // we've walked the code cache.
845 _from_interpreted_entry = NULL; 836 _from_interpreted_entry = NULL;
846 if (is_native()) { 837 if (is_native()) {
847 *native_function_addr() = NULL; 838 *native_function_addr() = NULL;
848 set_signature_handler(NULL); 839 set_signature_handler(NULL);
849 } 840 }
850 #ifdef MIPS64
851 set_num_of_requests(0);
852 set_decay_counter(0);
853 #endif
854 NOT_PRODUCT(set_compiled_invocation_count(0);) 841 NOT_PRODUCT(set_compiled_invocation_count(0);)
855 _adapter = NULL; 842 _adapter = NULL;
856 _from_compiled_entry = NULL; 843 _from_compiled_entry = NULL;
857 844
858 // In case of DumpSharedSpaces, _method_data should always be NULL. 845 // In case of DumpSharedSpaces, _method_data should always be NULL.

mercurial