@@ -91,10 +91,10 @@ int StubAssembler::call_RT(Register oop_result1, Register metadata_result, addre
9191 // exception pending => remove activation and forward to exception handler
9292 // make sure that the vm_results are cleared
9393 if (oop_result1->is_valid ()) {
94- str (zr, Address (rthread, JavaThread::vm_result_offset ()));
94+ str (zr, Address (rthread, JavaThread::vm_result_oop_offset ()));
9595 }
9696 if (metadata_result->is_valid ()) {
97- str (zr, Address (rthread, JavaThread::vm_result_2_offset ()));
97+ str (zr, Address (rthread, JavaThread::vm_result_metadata_offset ()));
9898 }
9999 if (frame_size () == no_frame_size) {
100100 leave ();
@@ -108,10 +108,10 @@ int StubAssembler::call_RT(Register oop_result1, Register metadata_result, addre
108108 }
109109 // get oop results if there are any and reset the values in the thread
110110 if (oop_result1->is_valid ()) {
111- get_vm_result (oop_result1, rthread);
111+ get_vm_result_oop (oop_result1, rthread);
112112 }
113113 if (metadata_result->is_valid ()) {
114- get_vm_result_2 (metadata_result, rthread);
114+ get_vm_result_metadata (metadata_result, rthread);
115115 }
116116 return call_offset;
117117}
@@ -406,8 +406,8 @@ OopMapSet* Runtime1::generate_handle_exception(C1StubId id, StubAssembler *sasm)
406406 __ authenticate_return_address (exception_pc);
407407
408408 // make sure that the vm_results are cleared (may be unnecessary)
409- __ str (zr, Address (rthread, JavaThread::vm_result_offset ()));
410- __ str (zr, Address (rthread, JavaThread::vm_result_2_offset ()));
409+ __ str (zr, Address (rthread, JavaThread::vm_result_oop_offset ()));
410+ __ str (zr, Address (rthread, JavaThread::vm_result_metadata_offset ()));
411411 break ;
412412 case C1StubId::handle_exception_nofpu_id:
413413 case C1StubId::handle_exception_id:
0 commit comments