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

[JVMCI] Insufficient error handling when CodeBuffer is exhausted

    XMLWordPrintable

Details

    • b13
    • aarch64

    Backports

      Description

        This is a follow-up from JDK-8298720.

        When CodeBuffer::expand fails, MacroAssembler::emit_trampoline_stub fails on Aarch64. The following call chain does not handle this properly:

        CodeInstaller::site_Call -> CodeInstaller::pd_relocate_JavaMethod -> NativeCall::trampoline_jump -> MacroAssembler::emit_trampoline_stub

        Similar, CompiledStaticCall::emit_to_interp_stub can fail as well and needs to be handled in CodeInstaller::site_Call.

        Attachments

          Issue Links

            Activity

              People

                dnsimon Douglas Simon
                thartmann Tobias Hartmann
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: