Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8326101

[PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space

    XMLWordPrintable

Details

    • b11
    • ppc

    Backports

      Description

        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

        Attachments

          Issue Links

            Activity

              People

                mdoerr Martin Doerr
                mdoerr Martin Doerr
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: