--- old/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp 2020-01-17 17:08:24.678136289 +0100 +++ new/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp 2020-01-17 17:08:24.578136294 +0100 @@ -2811,7 +2811,11 @@ void LIR_Assembler::leal(LIR_Opr addr, LIR_Opr dest, LIR_PatchCode patch_code, CodeEmitInfo* info) { - assert(patch_code == lir_patch_none, "Patch code not supported"); + if (patch_code != lir_patch_none) { + deoptimize_trap(info); + return; + } + __ lea(dest->as_register_lo(), as_Address(addr->as_address_ptr())); }