diff options
author | Andy McFadden <fadden@android.com> | 2009-07-27 14:44:22 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2009-07-27 14:44:22 -0700 |
commit | 7605a84a9a0a1764c1fb290d9c93e8114eaf620a (patch) | |
tree | 056066d247eb62e0e3231530392f356434feea4b /vm/LinearAlloc.h | |
parent | 71f15b5cdc9049f0c77b3118e914dc1e58e0c04f (diff) | |
download | android_dalvik-7605a84a9a0a1764c1fb290d9c93e8114eaf620a.tar.gz android_dalvik-7605a84a9a0a1764c1fb290d9c93e8114eaf620a.tar.bz2 android_dalvik-7605a84a9a0a1764c1fb290d9c93e8114eaf620a.zip |
Added dvmLinearAllocContains().
Diffstat (limited to 'vm/LinearAlloc.h')
-rw-r--r-- | vm/LinearAlloc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vm/LinearAlloc.h b/vm/LinearAlloc.h index 9c1d0962e..c9a5c0899 100644 --- a/vm/LinearAlloc.h +++ b/vm/LinearAlloc.h @@ -112,4 +112,10 @@ char* dvmLinearStrdup(Object* classLoader, const char* str); */ void dvmLinearAllocDump(Object* classLoader); +/* + * Determine if [start, start+length) is contained in the in-use area of + * a single LinearAlloc. The full set of linear allocators is scanned. + */ +bool dvmLinearAllocContains(void* start, size_t length); + #endif /*_DALVIK_LINEARALLOC*/ |