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

Dmitry Samersoff Dmitry.Samersoff at oracle.com
Mon Apr 23 08:14:31 PDT 2012


Looks good for me.

On 2012-04-23 16:05, 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.
> 
> Thanks,
> /Staffan


-- 
Dmitry Samersoff
Java SE development team, SPB04
* There will come soft rains ...


More information about the serviceability-dev mailing list