Skip navigation links
A C D E F G H I J K L M N O P R S T U V W X 

A

add(GraphLayout) - Method in class org.openjdk.jol.info.GraphLayout
Add another layout data to the current one.
add(T) - Method in class org.openjdk.jol.util.Multiset
 
add(T, long) - Method in class org.openjdk.jol.util.Multiset
 
addClasspathEntries(Collection<String>) - Static method in class org.openjdk.jol.util.ClassUtils
Add these new classpath entries to resolve against.
addField(FieldData) - Method in class org.openjdk.jol.info.ClassData
Add the field data.
addresses() - Method in class org.openjdk.jol.info.GraphLayout
Answer the set of addresses for the discovered objects
addressOf(Object) - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the machine address of the given object.
addSuperClass(String) - Method in class org.openjdk.jol.info.ClassData
Add the super-class into the hierarchy.
addSuperClassData(Class) - Method in class org.openjdk.jol.info.ClassData
Add the super-class data of the class.
addSuperClassData(ClassData) - Method in class org.openjdk.jol.info.ClassData
Add the super-class data of the class.
align(int, int) - Static method in class org.openjdk.jol.util.MathUtil
 
align(long, int) - Static method in class org.openjdk.jol.util.MathUtil
 
arrayBaseOffset(String) - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the array base offset for an array of a given component type.
arrayClass() - Method in class org.openjdk.jol.info.ClassData
Answer the array class for this class data.
arrayComponentType() - Method in class org.openjdk.jol.info.ClassData
Answer the array component class for this class data.
arrayHeaderSize() - Method in class org.openjdk.jol.datamodel.CurrentDataModel
 
arrayHeaderSize() - Method in interface org.openjdk.jol.datamodel.DataModel
Return the array header size.
arrayHeaderSize() - Method in class org.openjdk.jol.datamodel.X86_32_DataModel
 
arrayHeaderSize() - Method in class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
arrayHeaderSize() - Method in class org.openjdk.jol.datamodel.X86_64_DataModel
 
arrayHeaderSize() - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the array header size.
arrayIndexScale(String) - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the array index scale for an array of a given component type.
arrayLength() - Method in class org.openjdk.jol.info.ClassData
Answer the array length for this class data.

C

ClassData - Class in org.openjdk.jol.info
Holds the class data, without the layout information.
ClassData(String) - Constructor for class org.openjdk.jol.info.ClassData
Constructs the empty ClassData, suited for regular class.
ClassData(String, String, int) - Constructor for class org.openjdk.jol.info.ClassData
Constructs the empty ClassData, suited for arrays.
classHierarchy() - Method in class org.openjdk.jol.info.ClassData
Get the class names in the hierarchy, starting from the superclasses down to subclasses
ClassLayout - Class in org.openjdk.jol.info
Handles the class data *with* the layout information.
classShortName() - Method in class org.openjdk.jol.info.FieldLayout
 
ClassUtils - Class in org.openjdk.jol.util
 
ClassUtils() - Constructor for class org.openjdk.jol.util.ClassUtils
 
compareTo(FieldLayout) - Method in class org.openjdk.jol.info.FieldLayout
 
contendedGroup() - Method in class org.openjdk.jol.info.FieldData
Get contentded group of the field.
contendedGroup(AnnotatedElement) - Static method in class org.openjdk.jol.vm.ContendedSupport
 
ContendedSupport - Class in org.openjdk.jol.vm
 
ContendedSupport() - Constructor for class org.openjdk.jol.vm.ContendedSupport
 
count(T) - Method in class org.openjdk.jol.util.Multiset
 
create(ClassData, SortedSet<FieldLayout>, int, long, boolean) - Static method in class org.openjdk.jol.info.ClassLayout
Builds the class layout.
create(String, String, String) - Static method in class org.openjdk.jol.info.FieldData
Creates the synthetic field data.
create(String, String, String, boolean, String) - Static method in class org.openjdk.jol.info.FieldData
Creates the field data.
current() - Static method in class org.openjdk.jol.vm.VM
 
CurrentDataModel - Class in org.openjdk.jol.datamodel
Current data model as detected by JVM.
CurrentDataModel() - Constructor for class org.openjdk.jol.datamodel.CurrentDataModel
 
CurrentLayouter - Class in org.openjdk.jol.layouters
The layouter getting the actual VM layout.
CurrentLayouter() - Constructor for class org.openjdk.jol.layouters.CurrentLayouter
 

D

DataModel - Interface in org.openjdk.jol.datamodel
Describes the data model, notably, the basic types sizes.
details() - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the informational details about the current VM mode

E

endAddress() - Method in class org.openjdk.jol.info.GraphLayout
Answer the ending address of observed memory chunk
equals(Object) - Method in class org.openjdk.jol.info.ClassData
 
equals(Object) - Method in class org.openjdk.jol.info.ClassLayout
 
equals(Object) - Method in class org.openjdk.jol.info.FieldLayout
 

F

FieldData - Class in org.openjdk.jol.info
Holds the field information, without the layout.
FieldLayout - Class in org.openjdk.jol.info
Holds the field info with the layout.
FieldLayout(FieldData, long, long) - Constructor for class org.openjdk.jol.info.FieldLayout
Construct field layout with discovered offset and field size.
fieldOffset(Field) - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the field offset for a given field, starting from the object base.
fields() - Method in class org.openjdk.jol.info.ClassData
Get the fields' data, including all the fields in the hierarchy.
fields() - Method in class org.openjdk.jol.info.ClassLayout
Answer the set of fields, including those in superclasses
fieldsFor(String) - Method in class org.openjdk.jol.info.ClassData
Get the fields' data for the given class.

G

gcd(long, long) - Static method in class org.openjdk.jol.util.MathUtil
 
getAddressSize() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getBoolean(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a boolean off the object at given offset.
getByte(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a byte off the object at given offset.
getChar(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a char off the object at given offset.
getClassCounts() - Method in class org.openjdk.jol.info.GraphLayout
Answer the class counts
getClasses() - Method in class org.openjdk.jol.info.GraphLayout
Answer the set of observed classes
getClassSizes() - Method in class org.openjdk.jol.info.GraphLayout
Answer the class sizes.
getDouble(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a double off the object at given offset.
getFloat(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a float off the object at given offset.
getInt(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads an int off the object at given offset.
getKlassOopSize() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getLong(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a long off the object at given offset.
getLossesExternal() - Method in class org.openjdk.jol.info.ClassLayout
Loosed bytes due to next object alignment
getLossesInternal() - Method in class org.openjdk.jol.info.ClassLayout
Loosed bytes from padding between fields
getLossesTotal() - Method in class org.openjdk.jol.info.ClassLayout
Total loosed bytes i.e.
getNarrowKlassBase() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getNarrowKlassShift() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getNarrowOopBase() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getNarrowOopShift() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getObject(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads an object off the object at given offset.
getObjectAlignment() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getOopSize() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
getSafeName(Class) - Static method in class org.openjdk.jol.util.ClassUtils
 
getShort(Object, long) - Method in interface org.openjdk.jol.vm.VirtualMachine
Reads a short off the object at given offset.
getUniverseData() - Method in class org.openjdk.jol.vm.sa.ServiceabilityAgentSupport
 
GraphLayout - Class in org.openjdk.jol.info
Holds the object graph layout info.
GraphLayout(Object...) - Constructor for class org.openjdk.jol.info.GraphLayout
 
GraphVisitor - Interface in org.openjdk.jol.info
Object graph visitor callback.
GraphWalker - Class in org.openjdk.jol.info
Basic class to walk object graphs.
GraphWalker() - Constructor for class org.openjdk.jol.info.GraphWalker
 

H

hashCode() - Method in class org.openjdk.jol.info.ClassData
 
hashCode() - Method in class org.openjdk.jol.info.ClassLayout
 
hashCode() - Method in class org.openjdk.jol.info.FieldLayout
 
headerSize() - Method in class org.openjdk.jol.datamodel.CurrentDataModel
 
headerSize() - Method in interface org.openjdk.jol.datamodel.DataModel
Return the object header size.
headerSize() - Method in class org.openjdk.jol.datamodel.X86_32_DataModel
 
headerSize() - Method in class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
headerSize() - Method in class org.openjdk.jol.datamodel.X86_64_DataModel
 
headerSize() - Method in class org.openjdk.jol.info.ClassLayout
Answer header size
HeapDumpException - Exception in org.openjdk.jol.heap
 
HeapDumpException(String) - Constructor for exception org.openjdk.jol.heap.HeapDumpException
 
HeapDumpReader - Class in org.openjdk.jol.heap
Experimental heap dump reader
HeapDumpReader(File) - Constructor for class org.openjdk.jol.heap.HeapDumpReader
 
hostClass() - Method in class org.openjdk.jol.info.FieldData
Answers the class for the field holder.
hostClass() - Method in class org.openjdk.jol.info.FieldLayout
Answers the class for the field holder.
HotSpotLayouter - Class in org.openjdk.jol.layouters
VM layout simulator.
HotSpotLayouter(DataModel) - Constructor for class org.openjdk.jol.layouters.HotSpotLayouter
 

I

instance() - Method in class org.openjdk.jol.info.ClassData
 
instance() - Static method in class org.openjdk.jol.vm.sa.ServiceabilityAgentSupport
 
instanceSize() - Method in class org.openjdk.jol.info.ClassLayout
Answer instance size
IOUtils - Class in org.openjdk.jol.util
 
isArray() - Method in class org.openjdk.jol.info.ClassData
Is this class data for the array?
isCompressedKlassOopsEnabled() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
isCompressedOopsEnabled() - Method in class org.openjdk.jol.vm.sa.UniverseData
 
isContended() - Method in class org.openjdk.jol.info.ClassData
Does the class have @Contended annotation?
isContended() - Method in class org.openjdk.jol.info.FieldData
Answers whether the field has contentded annotation.
isContended(AnnotatedElement) - Static method in class org.openjdk.jol.vm.ContendedSupport
 

J

java.lang - package java.lang
 
JOLUnsafeTrampoline - Class in java.lang
This class is needed to work around the protection that disallows polling objectFieldOffset on Records and hidden classes: https://bugs.openjdk.java.net/browse/JDK-8247444 https://hg.openjdk.java.net/jdk/jdk/file/ae002489df78/src/jdk.unsupported/share/classes/sun/misc/Unsafe.java#l640 It does so by injecting this class with elevated protection levels with sun.misc.Unsafe.defineAnonymousClass, and accessing the jdk.internal.misc.Unsafe.objectFieldOffset that does not have this protection.
JOLUnsafeTrampoline() - Constructor for class java.lang.JOLUnsafeTrampoline
 

K

keys() - Method in class org.openjdk.jol.util.Multiset
 

L

layout(ClassData) - Method in class org.openjdk.jol.layouters.CurrentLayouter
 
layout(ClassData) - Method in class org.openjdk.jol.layouters.HotSpotLayouter
 
layout(ClassData) - Method in interface org.openjdk.jol.layouters.Layouter
 
layout(ClassData) - Method in class org.openjdk.jol.layouters.RawLayouter
 
Layouter - Interface in org.openjdk.jol.layouters
Layouter: given the class data, produces the layout.
loadClass(String) - Static method in class org.openjdk.jol.util.ClassUtils
Load class through our application classpath, plus optionally try to resolve from the additional classpath.
loadSystemClass(String) - Static method in class org.openjdk.jol.util.ClassUtils
Load class through the system classloader.
log2p(int) - Static method in class org.openjdk.jol.util.MathUtil
 

M

MathUtil - Class in org.openjdk.jol.util
 
MathUtil() - Constructor for class org.openjdk.jol.util.MathUtil
 
merge(ClassData) - Method in class org.openjdk.jol.info.ClassData
Merge this class data with the super-class class data
merge(Multiset<T>) - Method in class org.openjdk.jol.util.Multiset
 
minDiff(int...) - Static method in class org.openjdk.jol.util.MathUtil
 
Multiset<T> - Class in org.openjdk.jol.util
Naive HashMultiset.
Multiset() - Constructor for class org.openjdk.jol.util.Multiset
 

N

name() - Method in class org.openjdk.jol.info.ClassData
Answer class name
name() - Method in class org.openjdk.jol.info.FieldData
Answers the field name.
name() - Method in class org.openjdk.jol.info.FieldLayout
Answers the field name.

O

objectAlignment() - Method in class org.openjdk.jol.datamodel.CurrentDataModel
 
objectAlignment() - Method in interface org.openjdk.jol.datamodel.DataModel
Return the object alignment.
objectAlignment() - Method in class org.openjdk.jol.datamodel.X86_32_DataModel
 
objectAlignment() - Method in class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
objectAlignment() - Method in class org.openjdk.jol.datamodel.X86_64_DataModel
 
objectAlignment() - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the object alignment.
objectFieldOffset(Field) - Static method in class java.lang.JOLUnsafeTrampoline
 
objectHeaderSize() - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the object header size.
ObjectUtils - Class in org.openjdk.jol.util
 
ObjectUtils() - Constructor for class org.openjdk.jol.util.ObjectUtils
 
offset() - Method in class org.openjdk.jol.info.FieldLayout
Answers field offset
oopsCount() - Method in class org.openjdk.jol.info.ClassData
Returns the count of the oops in th class
org.openjdk.jol.datamodel - package org.openjdk.jol.datamodel
 
org.openjdk.jol.heap - package org.openjdk.jol.heap
 
org.openjdk.jol.info - package org.openjdk.jol.info
 
org.openjdk.jol.layouters - package org.openjdk.jol.layouters
 
org.openjdk.jol.util - package org.openjdk.jol.util
 
org.openjdk.jol.vm - package org.openjdk.jol.vm
 
org.openjdk.jol.vm.sa - package org.openjdk.jol.vm.sa
 
ownFields() - Method in class org.openjdk.jol.info.ClassData
Get the fields' of the own fields.

P

parse() - Method in class org.openjdk.jol.heap.HeapDumpReader
 
parse(Field) - Static method in class org.openjdk.jol.info.FieldData
Parses the field data from the existing field.
parseClass(Class) - Static method in class org.openjdk.jol.info.ClassData
Parse the existing class.
parseClass(Class<?>) - Static method in class org.openjdk.jol.info.ClassLayout
Produce the class layout for the given class.
parseClass(Class<?>, Layouter) - Static method in class org.openjdk.jol.info.ClassLayout
Produce the class layout for the given class, and given layouter.
parseInstance(Object) - Static method in class org.openjdk.jol.info.ClassData
Parse the existing instance.
parseInstance(Object) - Static method in class org.openjdk.jol.info.ClassLayout
Produce the class layout for the given instance.
parseInstance(Object, Layouter) - Static method in class org.openjdk.jol.info.ClassLayout
Produce the class layout for the given instance, and given layouter.
parseInstance(Object...) - Static method in class org.openjdk.jol.info.GraphLayout
Parse the object graph starting from the given instance.
pow2(int) - Static method in class org.openjdk.jol.util.MathUtil
 

R

RawLayouter - Class in org.openjdk.jol.layouters
Layouter which packs all the fields together, regardless of the alignment.
RawLayouter(DataModel) - Constructor for class org.openjdk.jol.layouters.RawLayouter
 
readAllBytes(InputStream) - Static method in class org.openjdk.jol.util.IOUtils
 
record(long) - Method in class org.openjdk.jol.info.GraphLayout
Get the object descriptor for the given address
refField() - Method in class org.openjdk.jol.info.FieldData
Get original Field.

S

safelyClose(OutputStream) - Static method in class org.openjdk.jol.util.IOUtils
 
safelyClose(InputStream) - Static method in class org.openjdk.jol.util.IOUtils
 
safelyClose(Reader) - Static method in class org.openjdk.jol.util.IOUtils
 
safeToString(Object) - Static method in class org.openjdk.jol.util.ObjectUtils
Produces the toString string, only calling toString() on known types, which do not mutate the instance.
ServiceabilityAgentSupport - Class in org.openjdk.jol.vm.sa
Hotspot Serviceability Agent support.
shortFieldName() - Method in class org.openjdk.jol.info.FieldLayout
 
size() - Method in class org.openjdk.jol.info.FieldLayout
Answers field size
size() - Method in class org.openjdk.jol.util.Multiset
 
sizeOf(String) - Method in class org.openjdk.jol.datamodel.CurrentDataModel
 
sizeOf(String) - Method in interface org.openjdk.jol.datamodel.DataModel
Return the size of the type.
sizeOf(String) - Method in class org.openjdk.jol.datamodel.X86_32_DataModel
 
sizeOf(String) - Method in class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
sizeOf(String) - Method in class org.openjdk.jol.datamodel.X86_64_DataModel
 
sizeOf(Object) - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the shallow size of the given object.
sizeOfField(String) - Method in interface org.openjdk.jol.vm.VirtualMachine
Returns the size of a field holding the type.
startAddress() - Method in class org.openjdk.jol.info.GraphLayout
Answer the starting address of observed memory chunk
subtract(GraphLayout) - Method in class org.openjdk.jol.info.GraphLayout
Subtract another layout data from the current one.
superClass() - Method in class org.openjdk.jol.info.ClassData
Get ClassData of the super-class.

T

toFootprint() - Method in class org.openjdk.jol.info.GraphLayout
Get the stringly representation of footprint table
toImage(String) - Method in class org.openjdk.jol.info.GraphLayout
Put the graphical representation of object graph into the file.
toPrintable() - Method in class org.openjdk.jol.info.ClassLayout
Produce printable stringly representation of class layout.
toPrintable(Object) - Method in class org.openjdk.jol.info.ClassLayout
Produce printable stringly representation of class layout.
toPrintable() - Method in class org.openjdk.jol.info.GraphLayout
Get the stringly representation of object graph
toString() - Method in class org.openjdk.jol.datamodel.X86_32_DataModel
 
toString() - Method in class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
toString() - Method in class org.openjdk.jol.datamodel.X86_64_DataModel
 
toString() - Method in class org.openjdk.jol.info.ClassLayout
 
toString() - Method in class org.openjdk.jol.info.FieldData
 
toString() - Method in class org.openjdk.jol.info.FieldLayout
 
toString() - Method in class org.openjdk.jol.layouters.CurrentLayouter
 
toString() - Method in class org.openjdk.jol.layouters.HotSpotLayouter
 
toString() - Method in class org.openjdk.jol.layouters.RawLayouter
 
totalCount() - Method in class org.openjdk.jol.info.GraphLayout
Answer the total instance count
totalSize() - Method in class org.openjdk.jol.info.GraphLayout
Answer the total instance footprint
typeClass() - Method in class org.openjdk.jol.info.FieldData
Answers the class for the field type
typeClass() - Method in class org.openjdk.jol.info.FieldLayout
Answers the class for the field type

U

UniverseData - Class in org.openjdk.jol.vm.sa
Result implementation for representing compressed reference informations as result.
UniverseData(int, int, int, boolean, long, int, int, boolean, long, int) - Constructor for class org.openjdk.jol.vm.sa.UniverseData
 

V

value(Object, Field) - Static method in class org.openjdk.jol.util.ObjectUtils
Get the object field value.
VirtualMachine - Interface in org.openjdk.jol.vm
 
visit(GraphPathRecord) - Method in interface org.openjdk.jol.info.GraphVisitor
Visit the graph record
visitClass(long, String, List<Integer>, int) - Method in class org.openjdk.jol.heap.HeapDumpReader
 
visitInstance(long, long, byte[]) - Method in class org.openjdk.jol.heap.HeapDumpReader
 
visitPrimArray(long, String, int, byte[]) - Method in class org.openjdk.jol.heap.HeapDumpReader
 
VM - Class in org.openjdk.jol.vm
 
VM() - Constructor for class org.openjdk.jol.vm.VM
 

W

walk(Object...) - Method in class org.openjdk.jol.info.GraphWalker
 

X

X86_32_DataModel - Class in org.openjdk.jol.datamodel
x86 data model, 32 bits.
X86_32_DataModel() - Constructor for class org.openjdk.jol.datamodel.X86_32_DataModel
 
X86_32_DataModel(int) - Constructor for class org.openjdk.jol.datamodel.X86_32_DataModel
 
X86_64_COOPS_DataModel - Class in org.openjdk.jol.datamodel
x86 data model, 64 bits, compressed references enabled.
X86_64_COOPS_DataModel() - Constructor for class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
X86_64_COOPS_DataModel(int) - Constructor for class org.openjdk.jol.datamodel.X86_64_COOPS_DataModel
 
X86_64_DataModel - Class in org.openjdk.jol.datamodel
x86 data model, 64 bits.
X86_64_DataModel() - Constructor for class org.openjdk.jol.datamodel.X86_64_DataModel
 
X86_64_DataModel(int) - Constructor for class org.openjdk.jol.datamodel.X86_64_DataModel
 
A C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links

Copyright © 2020. All rights reserved.