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

AArch64: Compiled CI stubs are unsafely modified

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      aarch64

      Backports

        Description

        According to the Arm manual, except in a few limited cases it is not safe to modify code while it is being executed. We mostly get this right, but our CompiledStaticCall stubs are patched at runtime by rewriting immediate loads. We can fix this by moving the rewritable data fields into memory so that they are loaded by means of load(mem) rather than mov(immediate data).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aph Andrew Haley
                Reporter:
                aph Andrew Haley
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: