Modifier and Type | Field and Description |
---|---|
protected String[] | |
pack-priv static Object | |
protected SymbolLookup | |
private Map |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | clearCaches()
Implements sun. Clear any cached values from symbol lookups in the target process. |
public Address | getVtblForType(Type type)
Implements sun. This is the necessarily platform-specific implementation. |
protected abstract String |
dllNames | back to summary |
---|---|
protected String[] dllNames |
nullAddress | back to summary |
---|---|
pack-priv static Object nullAddress |
symbolLookup | back to summary |
---|---|
protected SymbolLookup symbolLookup |
typeToVtblMap | back to summary |
---|---|
private Map<Type, Object> typeToVtblMap |
BasicVtblAccess | back to summary |
---|---|
public BasicVtblAccess(SymbolLookup symbolLookup, String[] dllNames) |
clearCaches | back to summary |
---|---|
public void clearCaches() Implements sun. Doc from sun. Clear any cached values from symbol lookups in the target process. It is important that this mechanism be fast and for that reason the default implementation memoizes type-to-vtbl mappings. However, if the target process is resumed, these mappings may become invalid. |
getVtblForType | back to summary |
---|---|
public Address getVtblForType(Type type) Implements sun. Doc from sun. This is the necessarily platform-specific implementation. Attempt to return the address of the vtbl for the given polymorphic C++ type. This value will be used when searching nearby memory to implement isOfType() in as platform-independent a manner as possible. Returns null if this value was not available for the given type, which might indicate that the type was not polymorphic or that an error occurred while trying to find the symbol. Note that this method does not support multiple inheritance. |
vtblSymbolForType | back to summary |
---|---|
protected abstract String vtblSymbolForType(Type type) |