--- old/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp 2020-02-06 19:17:52.689551268 +0100 +++ new/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp 2020-02-06 19:17:52.514551283 +0100 @@ -2815,7 +2815,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())); }