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

public Class DefNewGeneration

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

DefNewGeneration is a young generation containing eden, from- and to-space.

Field Summary

Modifier and TypeField and Description
protected static AddressField
protected static AddressField
protected 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.

The maximum number of object bytes the generation can currently hold.

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 ContiguousSpace
eden()

public long
free()

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

The number of free bytes in the gen.

public ContiguousSpace
from()

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
to()

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

edenSpaceFieldback to summary
protected static AddressField edenSpaceField
fromSpaceFieldback to summary
protected static AddressField fromSpaceField
toSpaceFieldback to summary
protected static AddressField toSpaceField

Constructor Detail

DefNewGenerationback to summary
public DefNewGeneration(Address addr)

Method Detail

capacityback to summary
public long capacity()

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

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

The maximum number of object bytes the generation can currently hold.

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.)

edenback to summary
public ContiguousSpace eden()
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.

fromback to summary
public ContiguousSpace from()
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.

toback to summary
public ContiguousSpace to()
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.