JOL 0.7 and 0.7.1
Aleksey Shipilev
shade at redhat.com
Wed Jan 18 17:18:34 UTC 2017
Hi,
JOL 0.7 and 0.7.1 are released and available at Maven Central. This are
bugfix/maintenance releases, and they contain these changes:
*) When introspecting classes, we used to fail to class-only introspection if
there are no default constructors. However, some classes have trivial
constructors that e.g. accept primitive values. It makes sense to try those
constructors too, to get proper instance size estimation:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901803
*) GraphLayout.add was broken:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901883
*) In early days of Jigsaw, we handled the reflective access failures with
printing "(access denied)". Since we already use Unsafe, we can try poke with it
too:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901884
*) Minor presentation improvements (column widths), which we improved in 0.7,
and un-botched with 0.7.1:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901885
*) Minor API improvements in GraphLayout.parseInstance non-vararg method, which
should be source-compatible:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901886
As usual, CLI tools are easily available in uberjar:
http://central.maven.org/maven2/org/openjdk/jol/jol-cli/0.7.1/jol-cli-0.7.1-full.jar
Thanks,
-Aleksey
More information about the jol-dev
mailing list