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

[PPC64] Possibly unreliable stack frame resizing in template interpreter

XMLWordPrintable

    • b28
    • ppc

        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.

              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: