JDK-8130309 has fixed most of the issues, but not all PPC64 cases. emit_exception_handler and emit_deopt_handler should also record the failure.
"assert(allocates2(pc)) failed: relocation addr must be in this section" has been observed in JDK 11u.
V [libjvm.so+0xa97a70] report_vm_error(char const*, int, char const*, char const*, ...)+0xf0
V [libjvm.so+0x8cf418] CodeSection::relocate(unsigned char*, RelocationHolder const&, int) [clone .part.84]+0x348
V [libjvm.so+0x8cf714] CodeSection::relocate(unsigned char*, relocInfo::relocType, int, int)+0x94
V [libjvm.so+0x13a8890] MacroAssembler::bxx64_patchable(unsigned char*, relocInfo::relocType, bool)+0x3f0
V [libjvm.so+0x23decc] HandlerImpl::emit_deopt_handler(CodeBuffer&)+0x9c
V [libjvm.so+0x1613124] Compile::fill_buffer(CodeBuffer*, unsigned int*)+0x2004