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

AArch64: Compiled CI stubs are unsafely modified

XMLWordPrintable

    • b16
    • aarch64

        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).

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

                Created:
                Updated:
                Resolved: