After the fix of JDK-8287394, there is no need for clear_inst_mark after trampoline_call. MacroAssembler::ic_call has trampoline_call as the last call. Because of this calls of MacroAssembler::ic_call might have needed clear_inst_mark.
There is a call of MacroAssembler::ic_call in aarch64_enc_java_dynamic_call with clear_inst_mark used. The call of clear_inst_mark can be removed.
There is a call of MacroAssembler::ic_call in aarch64_enc_java_dynamic_call with clear_inst_mark used. The call of clear_inst_mark can be removed.