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

public Class G1HeapRegion

extends ContiguousSpace
implements LiveRegionsProvider
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.gc.shared.LiveRegionsProvider
Imports
java.io.PrintStream, java.util.ArrayList, .List, sun.jvm.hotspot.utilities.Observable, .Observer, sun.jvm.hotspot.debugger.Address, .OopHandle, sun.jvm.hotspot.gc.shared.ContiguousSpace, .LiveRegionsProvider, sun.jvm.hotspot.memory.MemRegion, sun.jvm.hotspot.runtime.VM, .VMObjectFactory, sun.jvm.hotspot.types.AddressField, .CIntegerField, .Type, .TypeDataBase

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Address
public Address
public long
public List<MemRegion>
public static long
public static long
private static synchronized void
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public void
public Address
public long
public MemRegion
usedRegion()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.usedRegion.

Returns a subregion of the space containing all the objects in the space.

Inherited from sun.jvm.hotspot.gc.shared.ContiguousSpace:
bottomAsOopHandlecapacitycontainsnextOopHandleprint

Field Detail

bottomFieldback to summary
private static AddressField bottomField

Hides sun.jvm.hotspot.gc.shared.ContiguousSpace.bottomField.

endFieldback to summary
private static AddressField endField

Hides sun.jvm.hotspot.gc.shared.ContiguousSpace.endField.

grainBytesFieldback to summary
private static CIntegerField grainBytesField
pinnedCountFieldback to summary
private static CIntegerField pinnedCountField
pointerSizeback to summary
private static long pointerSize
topFieldback to summary
private static AddressField topField

Hides sun.jvm.hotspot.gc.shared.ContiguousSpace.topField.

typeback to summary
private G1HeapRegionType type
typeFieldOffsetback to summary
private static long typeFieldOffset

Constructor Detail

G1HeapRegionback to summary
public G1HeapRegion(Address addr)

Method Detail

bottomback to summary
public Address bottom()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.bottom.

endback to summary
public Address end()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.end.

freeback to summary
public long free()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.free.

getLiveRegionsback to summary
public List<MemRegion> getLiveRegions()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.getLiveRegions.

Implements sun.jvm.hotspot.gc.shared.LiveRegionsProvider.getLiveRegions.

Doc from sun.jvm.hotspot.gc.shared.ContiguousSpace.getLiveRegions.

Returns regions of Space where live objects live

Annotations
@Override
getPointerSizeback to summary
public static long getPointerSize()
grainBytesback to summary
public static long grainBytes()
initializeback to summary
private static synchronized void initialize(TypeDataBase db)

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

isFreeback to summary
public boolean isFree()
isHumongousback to summary
public boolean isHumongous()
isInRegionback to summary
public boolean isInRegion(Address addr)
isOldback to summary
public boolean isOld()
isPinnedback to summary
public boolean isPinned()
isYoungback to summary
public boolean isYoung()
printOnback to summary
public void printOn(PrintStream tty)

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

topback to summary
public Address top()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.top.

usedback to summary
public long used()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.used.

usedRegionback to summary
public MemRegion usedRegion()

Overrides sun.jvm.hotspot.gc.shared.ContiguousSpace.usedRegion.

Returns a subregion of the space containing all the objects in the space.