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

public Class ReversePtrs

extends Object
Class Inheritance
Imports
java.util.*, sun.jvm.hotspot.oops.*

ReversePtrs hashtable.

Field Summary

Modifier and TypeField and Description
private HashMap<Oop, ArrayList<LivenessPathElement>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ArrayList<LivenessPathElement>
get(Oop obj)

Returns an ArrayList of the incoming references to this Oop if it is alive, and null if it is dead according to the ReversePtrsAnalysis.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

rpback to summary
private HashMap<Oop, ArrayList<LivenessPathElement>> rp

Constructor Detail

ReversePtrsback to summary
public ReversePtrs()

Method Detail

getback to summary
public ArrayList<LivenessPathElement> get(Oop obj)

Returns an ArrayList of the incoming references to this Oop if it is alive, and null if it is dead according to the ReversePtrsAnalysis. Currently not all roots are scanned so this result is frequently inaccurate for JVM-internal objects, but is usually correct for Java-level objects.

putback to summary
public void put(LivenessPathElement from, Oop to)