comparison src/hotspot/cpu/s390/compiledIC_s390.cpp @ 54970:b776653628c5

8218991: s390: Add intrinsic for GHASH algorithm Reviewed-by: lucy, simonis
author mdoerr
date Mon, 18 Feb 2019 12:16:02 +0100
parents 84743156e780
children aad50831e169
comparison
equal deleted inserted replaced
1:9d7b746e527e 2:4648452759b1
125 // Update jump to call. 125 // Update jump to call.
126 set_destination_mt_safe(stub); 126 set_destination_mt_safe(stub);
127 } 127 }
128 128
129 void CompiledDirectStaticCall::set_stub_to_clean(static_stub_Relocation* static_stub) { 129 void CompiledDirectStaticCall::set_stub_to_clean(static_stub_Relocation* static_stub) {
130 assert (CompiledIC_lock->is_locked() || SafepointSynchronize::is_at_safepoint(), "mt unsafe call");
131 // Reset stub. 130 // Reset stub.
132 address stub = static_stub->addr(); 131 address stub = static_stub->addr();
133 assert(stub != NULL, "stub not found"); 132 assert(stub != NULL, "stub not found");
133 assert(CompiledICLocker::is_safe(stub), "mt unsafe call");
134 // Creation also verifies the object. 134 // Creation also verifies the object.
135 NativeMovConstReg* method_holder = nativeMovConstReg_at(stub + NativeCall::get_IC_pos_in_java_to_interp_stub()); 135 NativeMovConstReg* method_holder = nativeMovConstReg_at(stub + NativeCall::get_IC_pos_in_java_to_interp_stub());
136 NativeJump* jump = nativeJump_at(method_holder->next_instruction_address()); 136 NativeJump* jump = nativeJump_at(method_holder->next_instruction_address());
137 method_holder->set_data(0); 137 method_holder->set_data(0);
138 jump->set_jump_destination((address)-1); 138 jump->set_jump_destination((address)-1);