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

[s390] Restore register from stack uses wrong offset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • None
    • b21
    • s390x
    • linux

      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.

            lucy Lutz Schmidt
            lucy Lutz Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: