APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.gc.g1

public Class G1CollectedHeap

extends CollectedHeap
Class Inheritance
Imports
java.io.PrintStream, java.util.Iterator, sun.jvm.hotspot.utilities.Observable, .Observer, sun.jvm.hotspot.debugger.Address, sun.jvm.hotspot.gc.g1.G1HeapRegionClosure, .G1PrintRegionClosure, sun.jvm.hotspot.gc.shared.CollectedHeap, .CollectedHeapName, .LiveRegionsClosure, sun.jvm.hotspot.memory.MemRegion, sun.jvm.hotspot.runtime.VM, .VMObjectFactory, sun.jvm.hotspot.types.AddressField, .CIntegerField, .Type, .TypeDataBase, sun.jvm.hotspot.tools.HeapSummary

Field Summary

Modifier and TypeField and Description
private static long
private static long
private static long
private static AddressField
private static long
private static CIntegerField

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
public G1HeapRegion
public void
private Iterator<G1HeapRegion>
public G1HeapRegionManager
hrm()

public G1HeapRegionSetBase
private static synchronized void
public CollectedHeapName
public void
public G1MonitoringSupport
public long
public G1HeapRegionSetBase
public void
public void
public long
Inherited from sun.jvm.hotspot.gc.shared.CollectedHeap:
createBitMapisInisInReservedoop_load_atoop_load_in_nativeoopAddressDescriptionprintreservedRegionstart

Field Detail

g1ReservedFieldOffsetback to summary
private static long g1ReservedFieldOffset
hrmFieldOffsetback to summary
private static long hrmFieldOffset
humongousSetFieldOffsetback to summary
private static long humongousSetFieldOffset
monitoringSupportFieldback to summary
private static AddressField monitoringSupportField
oldSetFieldOffsetback to summary
private static long oldSetFieldOffset
summaryBytesUsedFieldback to summary
private static CIntegerField summaryBytesUsedField

Constructor Detail

G1CollectedHeapback to summary
public G1CollectedHeap(Address addr)

Method Detail

capacityback to summary
public long capacity()

Implements abstract sun.jvm.hotspot.gc.shared.CollectedHeap.capacity.

heapRegionForAddressback to summary
public G1HeapRegion heapRegionForAddress(Address addr)
heapRegionIterateback to summary
public void heapRegionIterate(G1HeapRegionClosure hrcl)
heapRegionIteratorback to summary
private Iterator<G1HeapRegion> heapRegionIterator()
hrmback to summary
public G1HeapRegionManager hrm()
humongousSetback to summary
public G1HeapRegionSetBase humongousSet()
initializeback to summary
private static synchronized void initialize(TypeDataBase db)

Hides sun.jvm.hotspot.gc.shared.CollectedHeap.initialize.

kindback to summary
public CollectedHeapName kind()

Implements abstract sun.jvm.hotspot.gc.shared.CollectedHeap.kind.

liveRegionsIterateback to summary
public void liveRegionsIterate(LiveRegionsClosure closure)

Implements abstract sun.jvm.hotspot.gc.shared.CollectedHeap.liveRegionsIterate.

Annotations
@Override
monitoringSupportback to summary
public G1MonitoringSupport monitoringSupport()
n_regionsback to summary
public long n_regions()
oldSetback to summary
public G1HeapRegionSetBase oldSet()
printOnback to summary
public void printOn(PrintStream tty)

Overrides sun.jvm.hotspot.gc.shared.CollectedHeap.printOn.

Annotations
@Override
printRegionDetailsback to summary
public void printRegionDetails(PrintStream tty)
usedback to summary
public long used()

Implements abstract sun.jvm.hotspot.gc.shared.CollectedHeap.used.