public interface SymbolLookup
Modifier and Type | Method and Description |
---|---|
Address |
lookup(java.lang.String objectName,
java.lang.String symbol)
Looks up the given symbol in the context of the given object.
|
OopHandle |
lookupOop(java.lang.String objectName,
java.lang.String symbol)
Looks up the given symbol in the context of the given object,
assuming that symbol refers to a Java object.
|
Address lookup(java.lang.String objectName, java.lang.String symbol)
FIXME: we may want to hide the objectName so the user does not have to specify it, but it isn't clear whether this will work transparently with dbx.
FIXME: what happens if the address is not found? Throw exception? Currently returns null.
OopHandle lookupOop(java.lang.String objectName, java.lang.String symbol)
FIXME: we may want to hide the objectName so the user does not have to specify it, but it isn't clear whether this will work transparently with dbx.
FIXME: what happens if the address is not found? Throw exception? Currently returns null.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.