JEP 240: Remove the JVM TI hprof Agent

Mario Torre neugens.limasoftware at gmail.com
Mon Feb 16 15:23:50 UTC 2015


2015-02-16 13:47 GMT+01:00 Florian Weimer <fweimer at redhat.com>:
> On 02/13/2015 01:46 AM, mark.reinhold at 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.

Thermostat does support that natively with the CLI interface. Also I
believe Visual VM can deal with saved and exported hprof dumps,
likewise MAT (and Thermostat), which is probably the most advanced at
this stage - so no need to install software really. I don't think
keeping the hprof agent around is really so important, and unless I'm
misreading this JEP this is all about removing the sampled code, not
the other tools and neither changing the hprof format.

Of course, your point about installing additional software is
completely valid here, all those options are separate packages, but
parsing a production system hprof on the system is very resource
intensive, I think it's still much better to do it remotely.

Cheers,
Mario
-- 
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens
Proud GNU Classpath developer: http://www.classpath.org/
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/


More information about the serviceability-dev mailing list