Am 16.02.2015 um 13:47 schrieb Florian Weimer:
On 02/13/2015 01:46 AM, mark.reinh...@oracle.com wrote:
New JEP Candidate: http://openjdk.java.net/jeps/240
Removal of the hprof agent interferes with my TLS performance work. I'm
not complaining (removing cruft is always a good idea), I'm just
providing a data point.
If I understand VisualVM correctly, it is GUI-only, so it will not work
in headless deployments. I'm not convinced that many production systems
allow remote management access (direct support for SSH tunneling might
address this concern, though). It's sometimes a challenge to get
additional software installed in a production environment—and hprof is
just a command line option away.
I understand that hprof is not the best JVM profiler out there, but it
has been pretty useful to me.
+1, that are exactly the reasons why I use hprof. It is just there (no
need to install stuff), it doesn't need a guy and I can analyze the
result using simple scripting tools. I did use it very successful e.g.
to optimize allocation behavior of applications. Yes, most people will
prefer a GUI, but some can do harder stuff with a commandline interface,
textual output and scripting.
BTW: that's how I also used jhat, scripting against the http interface.
Maybe Eclipse MAT can be scripted as well and I just don't know how to
do it. But that's the other JEP (241), so OT here.
Regards,
Rainer