[Bug 3341] [IcedTea8] jstack.stp should support ppc64[le,be]

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Jan 28 15:52:56 UTC 2019


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3341

Mark Wielaard <mark at klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp.org

--- Comment #1 from Mark Wielaard <mark at klomp.org> ---
Created attachment 1722
  --> https://icedtea.classpath.org/bugzilla/attachment.cgi?id=1722&action=edit
icedtea8 tapsets jstack.stp.in ppc64 support patch

PowerPC is slightly special since it uses a link register instead of having a
frame pointer. We still need something like the frame pointer to access to code
method/class instance. Which can be found in the on stack variable area (to
which we set fp). We don't need to do any tricks to try to recover the fp on
ppc64 because the link register should always be correct to give is the calling
pc and the stack pointer always points to the previous stack pointer frame.

Note, only tested on ppc64le.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20190128/0dc316cb/attachment.html>


More information about the distro-pkg-dev mailing list