From shade at redhat.com Tue Jul 7 14:05:40 2020 From: shade at redhat.com (shade at redhat.com) Date: Tue, 07 Jul 2020 14:05:40 +0000 Subject: hg: code-tools/jol: 2 new changesets Message-ID: <202007071405.067E5ew6002141@aojmv0008.oracle.com> Changeset: d24c668405b0 Author: shade Date: 2020-07-07 15:45 +0200 URL: https://hg.openjdk.java.net/code-tools/jol/rev/d24c668405b0 7902717: VM offset should be calculated only by CurrentLayouter ! jol-core/src/main/java/org/openjdk/jol/info/FieldData.java ! jol-core/src/main/java/org/openjdk/jol/layouters/CurrentLayouter.java Changeset: aaf681673868 Author: shade Date: 2020-07-07 15:53 +0200 URL: https://hg.openjdk.java.net/code-tools/jol/rev/aaf681673868 7902718: JDK-8247444 protections for Record offsets break JOL introspection + jol-core/src/main/java/java/lang/JOLUnsafeTrampoline.java ! jol-core/src/main/java/org/openjdk/jol/util/IOUtils.java ! jol-core/src/main/java/org/openjdk/jol/vm/HotspotUnsafe.java From shade at redhat.com Wed Jul 15 15:40:50 2020 From: shade at redhat.com (Aleksey Shipilev) Date: Wed, 15 Jul 2020 17:40:50 +0200 Subject: JOL 0.11 Message-ID: <8dfab149-5c0e-bb0a-cdf4-c31b84f7e088@redhat.com> 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 From shade at redhat.com Mon Jul 27 08:07:48 2020 From: shade at redhat.com (shade at redhat.com) Date: Mon, 27 Jul 2020 08:07:48 +0000 Subject: hg: code-tools/jol: 3 new changesets Message-ID: <202007270807.06R87maq020459@aojmv0008.oracle.com> Changeset: f240fb4bbb9f Author: shade Date: 2020-07-24 19:16 +0200 URL: https://hg.openjdk.java.net/code-tools/jol/rev/f240fb4bbb9f Introduce LinkedChainBench to measure GraphLayout performance + jol-benchmarks/src/main/java/org/openjdk/jol/LinkedChainBench.java Changeset: 6d1890bd7fac Author: shade Date: 2020-07-27 09:35 +0200 URL: https://hg.openjdk.java.net/code-tools/jol/rev/6d1890bd7fac 7902731: Optimize GraphWalker::walk ! jol-core/src/main/java/org/openjdk/jol/info/GraphLayout.java ! jol-core/src/main/java/org/openjdk/jol/info/GraphWalker.java Changeset: 5547320fb4d0 Author: shade Date: 2020-07-27 10:07 +0200 URL: https://hg.openjdk.java.net/code-tools/jol/rev/5547320fb4d0 7902732: Cache instance sizes during GraphWalker::walk ! jol-core/src/main/java/org/openjdk/jol/info/GraphPathRecord.java ! jol-core/src/main/java/org/openjdk/jol/info/GraphWalker.java ! jol-core/src/test/java/org/openjdk/jol/info/GraphLayoutTest.java