Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some interesting uses for Java Agents?

Starting with Java 5 there's an option to add Java Agents to the class loader.

Have you written any Agents? have you used any Agents? What are interesting uses of Agents?

like image 882
carrier Avatar asked Nov 05 '22 21:11

carrier


1 Answers

I have used various java profilers that use this feature. A good open source java profiler that uses this is Profiler4j (http://profiler4j.sourceforge.net).

This is a great tool for finding performance bottlnecks in your java code.

like image 53
Neal Donnan Avatar answered Nov 12 '22 20:11

Neal Donnan