FileDocCategorySizeDatePackage
IMemorySpy.javaAPI DocAndroid 1.5 API1689Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.platform

IMemorySpy

public interface IMemorySpy
This is the interface that the memory watchers implement -- what they do with this information is largely undefined.

Fields Summary
Constructors Summary
Methods Summary
public voidalloc(PlatformAddress address)

public voidautoFree(PlatformAddress address)
Requests that the given address is freed automatically when it becomes garbage. If the address is alredy freed, or has not been notified as allocated via this memory spy, then this call has no effect and completes quietly.

param
address the address to be freed.

public booleanfree(PlatformAddress address)

public voidrangeCheck(PlatformAddress address, int offset, int length)