1.1 --- a/src/cpu/mips/vm/sharedRuntime_mips_64.cpp Wed Sep 11 12:40:06 2019 +0800 1.2 +++ b/src/cpu/mips/vm/sharedRuntime_mips_64.cpp Fri Sep 27 11:31:13 2019 +0800 1.3 @@ -2254,14 +2254,9 @@ 1.4 1.5 __ reset_last_Java_frame(false); 1.6 1.7 - // Unpack oop result 1.8 + // Unpack oop result, e.g. JNIHandles::resolve value. 1.9 if (ret_type == T_OBJECT || ret_type == T_ARRAY) { 1.10 - Label L; 1.11 - __ beq(V0, R0, L); 1.12 - __ delayed()->nop(); 1.13 - __ ld(V0, V0, 0); 1.14 - __ bind(L); 1.15 - __ verify_oop(V0); 1.16 + __ resolve_jobject(V0, thread, T9); 1.17 } 1.18 1.19 if (!is_critical_native) {