diff -r e6aa4a8c1b46 -r 7ae4e26cb1e0 src/share/vm/runtime/thread.cpp --- a/src/share/vm/runtime/thread.cpp Mon Mar 16 11:49:32 2015 -0700 +++ b/src/share/vm/runtime/thread.cpp Thu Oct 12 21:27:07 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" @@ -3421,6 +3427,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();