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

public Class TenuredGeneration

extends Generation
Class Inheritance
Imports
java.io.*, java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.gc.shared.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.types.*, sun.jvm.hotspot.utilities.Observable, .Observer

TenuredGeneration models a heap of old objects contained in a single contiguous space.

Garbage collection is performed using mark-compact.

Field Summary

Modifier and TypeField and Description
private static AddressField
Inherited from sun.jvm.hotspot.gc.serial.Generation:
K

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
capacity()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.capacity.

Space queries

public long
contiguousAvailable()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.contiguousAvailable.

The largest number of contiguous free words in the generation, including expansion.

public long
free()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.free.

The number of free bytes in the gen.

private static synchronized void
public boolean
public void
liveRegionsIterate(LiveRegionsClosure closure)

Implements abstract sun.jvm.hotspot.gc.serial.Generation.liveRegionsIterate.

Iteration - do not use for time critical operations

public String
public void
public ContiguousSpace
public long
used()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.used.

The number of used bytes in the gen.

Inherited from sun.jvm.hotspot.gc.serial.Generation:
isInReservedprintreservedusedRegionvirtualSpace

Field Detail

theSpaceFieldback to summary
private static AddressField theSpaceField

Constructor Detail

TenuredGenerationback to summary
public TenuredGeneration(Address addr)

Method Detail

capacityback to summary
public long capacity()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.capacity.

Space queries

contiguousAvailableback to summary
public long contiguousAvailable()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.contiguousAvailable.

Doc from sun.jvm.hotspot.gc.serial.Generation.contiguousAvailable.

The largest number of contiguous free words in the generation, including expansion. (VM's version assumes it is called at a safepoint.)

freeback to summary
public long free()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.free.

Doc from sun.jvm.hotspot.gc.serial.Generation.free.

The number of free bytes in the gen.

initializeback to summary
private static synchronized void initialize(TypeDataBase db)

Hides sun.jvm.hotspot.gc.serial.Generation.initialize.

isInback to summary
public boolean isIn(Address p)
liveRegionsIterateback to summary
public void liveRegionsIterate(LiveRegionsClosure closure)

Implements abstract sun.jvm.hotspot.gc.serial.Generation.liveRegionsIterate.

Doc from sun.jvm.hotspot.gc.serial.Generation.liveRegionsIterate.

Iteration - do not use for time critical operations

nameback to summary
public String name()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.name.

printOnback to summary
public void printOn(PrintStream tty)

Implements abstract sun.jvm.hotspot.gc.serial.Generation.printOn.

theSpaceback to summary
public ContiguousSpace theSpace()
usedback to summary
public long used()

Implements abstract sun.jvm.hotspot.gc.serial.Generation.used.

Doc from sun.jvm.hotspot.gc.serial.Generation.used.

The number of used bytes in the gen.