RFR (S): 7163524: Add SecTaskAccess attribute to jstack [macosx]
Staffan Larsen
staffan.larsen at oracle.com
Mon Apr 23 05:05:04 PDT 2012
Please review the following change to allow jstack to attach to other processes on OS X.
Webrev: http://cr.openjdk.java.net/~sla/7163524/webrev.00/
This allows jstack to use the SA framework to attach to the JVM to get information. OS X requires binaries to be linked with the SecTaskAccess attribute in Info.plist to allow them access to other processes. Previously jmap, jinfo and jsadebugd has been compiled this way, but jstack was missing. This fix treats jstack in the same way.
Thanks,
/Staffan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20120423/750aeb7f/attachment.html
More information about the serviceability-dev
mailing list