RFR (S): 7163524: Add SecTaskAccess attribute to jstack [macosx]

David Holmes david.holmes at oracle.com
Mon Apr 23 05:17:10 PDT 2012


On 23/04/2012 10:05 PM, Staffan Larsen wrote:
> 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.

Looks fine in that regard.

David

> Thanks,
> /Staffan


More information about the serviceability-dev mailing list