JOL 0.11

Aleksey Shipilev shade at redhat.com
Wed Jul 15 15:40:50 UTC 2020


Hi,

JOL 0.11 is released and available on Maven Central. This is the maintenance release, and it
brings these changes forward:

 *) Improve compatibility with Records (preview):
  7902718: JDK-8247444 protections for Record offsets break JOL introspection
  7902720: JOL: Use Lookup.defineClass instead of deprecating Unsafe.defineAnonymousClass
  7902723: Instantiate the Unsafe trampoline only when it is needed

 *) Improve compatibility with Valhalla's Inline Types:
  7902721: JOL should be more resilient with weak references to instances

 *) A minor performance improvement:
  7902717: VM offset should be calculated only by CurrentLayouter

 *) A minor UX update that auto-attaches the JOL as Java Agent on JDK 9+:
  7902722: Use Launcher-Agent-Class to attach Instrumentation

All-in-one JOL CLI bundle for 0.11 is here:
  https://repo.maven.apache.org/maven2/org/openjdk/jol/jol-cli/0.11/jol-cli-0.11-full.jar

Enjoy!

-- 
Thanks,
-Aleksey



More information about the jol-dev mailing list