Request for review: 6310967: SA: jstack -m produce failures in output (original) (raw)

Poonam Bajaj poonam.bajaj at oracle.com
Tue Jun 12 06:05:58 PDT 2012


Hi,

Please review this fix for bug 6310967 <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6310967>.

6310967 <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6310967>: SA: jstack -m produce failures in output

http://cr.openjdk.java.net/~poonam/6310967/webrev.00/

Problem: jstack -m fails with UnalignedAddressException.The problem is that while finding the caller frame of a frame in sender() method, we don't check the validity of the frame pointer (rbp / ebp).

These changes add a simple check that the frame pointer(rbp) should be a valid pointer on the stack by making sure that it is not less than the stack pointer(rsp).

Thanks, Poonam

-------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20120612/25473290/attachment-0001.html



More information about the serviceability-dev mailing list