jol Questions

2

Solved

I'm attempting to use Java Object Layout (JOL) to measure the instance size of an object that holds onto instances of some Java Records. I am getting an UnsupportedOperationException with a descrip...
Zarah asked 28/4, 2023 at 13:50

1

Solved

Accidentally I have stumbled into a change in Java 15 that I was not aware of. Suppose I have a very simple question: what is the size of an array of 3 integers? For this, I use JOL. The code is fa...
Illnatured asked 13/7, 2020 at 15:29

1

Solved

Here are the two samples I would like to base my question on (assuming you have JOL here): Layouter layout32Bits = new HotSpotLayouter(new X86_32_DataModel()); Layouter layout64BitsComp = new HotS...
Selfforgetful asked 24/5, 2018 at 12:12

2

Solved

Intro: I used the JOL (Java Object Layout) tool to analyze the internal and external fragmentation of Java objects for research purpose. While doing so, I stumbled across the following: x@pc:~/U...
Agglutinate asked 29/11, 2017 at 8:41

1

I'm trying to run a program using jol with Java 9 but with no luck. I have the following dependency in pom.xml: <dependency> <groupId>org.openjdk.jol</groupId> <artifactId&...
Tildie asked 5/10, 2017 at 10:11

1

Solved

Using java-9 build 9-ea+149 and jol 0.6. Running this simple code: ArrayList<Integer> list = new ArrayList<>(); list.add(12); System.out.println(ClassLayout.parseInstance(list).toPr...
Representation asked 26/12, 2016 at 12:45

1

Solved

When using jol's GraphLayout class to print the graph of objects referenced from an object instance, some of the output entries say "(something else)" instead of a type and reference path. For exam...
Colubrid asked 4/5, 2015 at 0:45

3

Solved

Could you give me some information on what is exactly stored in object header? I know, that it's probably JVM dependent, but maybe for HotSpot at least? I'm looking for exact description specifical...
Eames asked 14/10, 2014 at 9:27

1

Solved

I'm fairly familiar with the layout of objects on the heap in HotSpot, but not so much for Android. For example, in a 32-bit HotSpot JVM, an object on the heap is implemented as an 8-byte header, ...
Beachcomber asked 6/2, 2013 at 21:5
1

© 2022 - 2024 — McMap. All rights reserved.