APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.memory

public Class CodeHeap

extends VMObject
Class Inheritance
Imports
java.util.*, sun.jvm.hotspot.code.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.types.*, sun.jvm.hotspot.utilities.Observable, .Observer

Field Summary

Modifier and TypeField and Description
private int
private static CIntegerField
private VirtualSpace
private static Field
private static Field
private VirtualSpace
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Address
private Address
private HeapBlock
public boolean
public Address
end()

public Address
findStart(Address p)

Returns the start of the block containing p or null

private HeapBlock
private int
private VirtualSpace
private VirtualSpace
private static void
public void
private Address
private long
Inherited from sun.jvm.hotspot.runtime.VMObject:
equalsgetAddresshashCodetoString

Field Detail

log2SegmentSizeback to summary
private int log2SegmentSize
log2SegmentSizeFieldback to summary
private static CIntegerField log2SegmentSizeField
memoryback to summary
private VirtualSpace memory
memoryFieldback to summary
private static Field memoryField
segmapFieldback to summary
private static Field segmapField
segmentMapback to summary
private VirtualSpace segmentMap

Constructor Detail

CodeHeapback to summary
public CodeHeap(Address addr)

Method Detail

beginback to summary
public Address begin()
blockBaseback to summary
private Address blockBase(Address p)
blockStartback to summary
private HeapBlock blockStart(Address p)
containsback to summary
public boolean contains(Address p)
endback to summary
public Address end()
findStartback to summary
public Address findStart(Address p)

Returns the start of the block containing p or null

getBlockAtback to summary
private HeapBlock getBlockAt(Address addr)
getLog2SegmentSizeback to summary
private int getLog2SegmentSize()
getMemoryback to summary
private VirtualSpace getMemory()
getSegmentMapback to summary
private VirtualSpace getSegmentMap()
initializeback to summary
private static void initialize(TypeDataBase db)
iterateback to summary
public void iterate(CodeCacheVisitor visitor, CodeCache cache)
nextBlockback to summary
private Address nextBlock(Address ptr)
segmentForback to summary
private long segmentFor(Address p)