diff -r 9bf9a733246b -r 04ff2f6cd0eb src/share/vm/runtime/thread.cpp --- a/src/share/vm/runtime/thread.cpp Thu Aug 06 00:08:57 2015 -0700 +++ b/src/share/vm/runtime/thread.cpp Tue Oct 17 12:58:25 2017 +0800 @@ -22,6 +22,12 @@ * */ +/* + * This file has been modified by Loongson Technology in 2015. These + * modifications are Copyright (c) 2015 Loongson Technology, and are made + * available on the same license terms set forth above. + */ + #include "precompiled.hpp" #include "classfile/classLoader.hpp" #include "classfile/javaClasses.hpp" @@ -3422,6 +3428,11 @@ return status; } +#ifdef MIPS64 + /* 2013/11/5 Jin: To be accessed in NativeGeneralJump::patch_verified_entry() */ + main_thread->set_handle_wrong_method_stub(SharedRuntime::get_handle_wrong_method_stub()); +#endif + // Should be done after the heap is fully created main_thread->cache_global_variables();