public interface Statics extends java.lang.Iterable<ElementInfo>
Modifier and Type | Method and Description |
---|---|
void |
cleanUpDanglingReferences(Heap heap) |
StaticElementInfo |
get(int id)
get an ElementInfo that might or might not be suitable for modification.
|
Memento<Statics> |
getMemento() |
Memento<Statics> |
getMemento(MementoFactory factory) |
StaticElementInfo |
getModifiable(int id)
get an ElementInfo that is guaranteed to be modifiable.
|
java.lang.Iterable<StaticElementInfo> |
liveStatics() |
void |
markRoots(Heap heap) |
StaticElementInfo |
newClass(ClassInfo ci,
ThreadInfo ti,
ElementInfo eiClsObj)
this returns the search global id which is unique within this ClassLoader namespace.
|
StaticElementInfo |
newStartupClass(ClassInfo ci,
ThreadInfo ti)
startup classes are registered and initialized in two steps since object
creation has to be deferred until we have at least Object and Class ClassInfos
|
int |
size() |
StaticElementInfo newStartupClass(ClassInfo ci, ThreadInfo ti)
StaticElementInfo newClass(ClassInfo ci, ThreadInfo ti, ElementInfo eiClsObj)
StaticElementInfo get(int id)
StaticElementInfo getModifiable(int id)
java.lang.Iterable<StaticElementInfo> liveStatics()
void markRoots(Heap heap)
void cleanUpDanglingReferences(Heap heap)
Memento<Statics> getMemento(MementoFactory factory)
int size()