|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectAddressRemapper
Facility for remapping object addresses across virtual machine address spaces. Used by boot image writer to map local (JDK) objects into remote (boot image) addresses. Used by debugger to map local (JDK) objects into remote (debugee VM) addresses. See also Magic.setObjectAddressRemapper()
Method Summary | ||
---|---|---|
Object |
addressAsObject(Address address)
Map an address to an object. |
|
int |
identityHashCode(Object object)
Identity hash code of an object |
|
|
intern(T object)
Avoid duplicates of certain objects |
|
|
objectAsAddress(T object)
Map an object to an address. |
Method Detail |
---|
<T> Address objectAsAddress(T object)
object
- in "local" virtual machine
Object addressAsObject(Address address)
address
- value obtained from "objectAsAddress"
<T> T intern(T object)
object
- to intern
int identityHashCode(Object object)
object
- the object to generate the identity hash code for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |