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

[PPC64] Possibly unreliable stack frame resizing in template interpreter

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      ppc

      Backports

        Description

        The template interpreter on PPC64 resizes frames which are not on top in order to avoid wasting stack space. On PPC64, SP must always point to the backlink (pointer to the caller frame). This needs to be maintained.

        At some places, we restore the previous state of the stack frame by setting the stack pointer back to its previous value relying on not having overwritten the old backlink. However, this is not reliably ensured at some of these places.

        In addition, relying on not having overwritten the old backlink is very error-prone so we should better avoid it.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mdoerr Martin Doerr
                  Reporter:
                  mdoerr Martin Doerr
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: