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

public Class MutableSpace

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

Field Summary

Modifier and TypeField and Description
private static AddressField
private static AddressField
private static AddressField
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Address
public OopHandle
bottomAsOopHandle()

Support for iteration over heap -- not sure how this will interact with GC in reflective system, but necessary for the debugging mechanism

public long
capacity()

Returned value is in bytes

public boolean
contains(Address p)

Testers

public Address
end()

public List<MemRegion>
getLiveRegions()

returns all MemRegions where live objects are

private static synchronized void
public void
public Address
top()

public long
used()

In bytes

public MemRegion
usedRegion()

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

Inherited from sun.jvm.hotspot.runtime.VMObject:
equalsgetAddresshashCodetoString

Field Detail

bottomFieldback to summary
private static AddressField bottomField
endFieldback to summary
private static AddressField endField
topFieldback to summary
private static AddressField topField

Constructor Detail

MutableSpaceback to summary
public MutableSpace(Address addr)

Method Detail

bottomback to summary
public Address bottom()
bottomAsOopHandleback to summary
public OopHandle bottomAsOopHandle()

Support for iteration over heap -- not sure how this will interact with GC in reflective system, but necessary for the debugging mechanism

capacityback to summary
public long capacity()

Returned value is in bytes

containsback to summary
public boolean contains(Address p)

Testers

endback to summary
public Address end()
getLiveRegionsback to summary
public List<MemRegion> getLiveRegions()

returns all MemRegions where live objects are

initializeback to summary
private static synchronized void initialize(TypeDataBase db)
printOnback to summary
public void printOn(PrintStream tty)
topback to summary
public Address top()
usedback to summary
public long used()

In bytes

usedRegionback to summary
public MemRegion usedRegion()

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