request for codereview, bug 7149528: easy usage of serviceability agent
Yumin Qi
yumin.qi at oracle.com
Fri May 11 14:48:18 PDT 2012
Hi, all
Can I have your codereview for bug 7149528: easy usage of
serviceability agent.
Problems 1) for launching Serviceability Agent(SA) is that it needs
setting several environmental variables for class path, library path
options. It is not easy for user to become familiar with those settings.
2) SA launched from java and attached to java process (or the binary
which loaded JVM). On MacOS, attaching to process needs permission. If
we grant access for SA, we have to grant all java processes have the
same access permission so brings security concern on the platform since
java is too generic for doing so. With a separate SA launcher, giving it
permission attaching to java process solves the concern.
the change for both hotspot and jdk:
http://cr.openjdk.java.net/~minqi/7149528
Thanks
Yumin
More information about the hotspot-dev
mailing list