JOL 0.3.2

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri May 15 17:02:00 UTC 2015


Hi,

JOL 0.3.2 is released and available at Maven Central (thanks to Evgeny
Mandrikov, as always!). This is a minor patch release.

Summary of changes:

 * jol-cli now provides the means to specify the class path where to
look for the inspected classes. This saves a (weird) trip to
constructing the exploded classpath with JOL onboard, and figuring out
the JOL entiry point. Tracking:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901419

Works like this:
 $ java -jar jol-cli.jar internals -cp myjar.jar:myjar2.jar test.MyClass
 $ java -jar jol-cli.jar internals -cp target/classes test.MyClass

 * GraphLayout.parseInstance now accepts multiple roots. This helps to
avoid double-counting when some objects are reachable from both roots.
Tracking:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901422

 * Dynamic agent attach was broken in non-trivial classloading setups.
For example, when running from IDEA. Fixed:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901425

 * A few touchups in the samples and CLI interface.

Enjoy!

Thanks,
-Aleksey.



More information about the jol-dev mailing list