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

[s390] Restore register from stack uses wrong offset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      s390x
    • OS:
      linux

      Description

      This bug is relevant for non-PRODUCT builds only! TraceMethodHandles must be true as well.

      MethodHandles::trace_method_handle() saves the argument register to the stack and restores them after tracing work is done.

      Unfortunately, there is a typo in the instruction restoring ARG5. It accesses SP+45 instead of SP+48.

        Attachments

          Activity

            People

            Assignee:
            lucy Lucy Schmidt
            Reporter:
            lucy Lucy Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: