diff options
author | Barry Hayes <bhayes@google.com> | 2010-03-17 12:12:39 -0700 |
---|---|---|
committer | Barry Hayes <bhayes@google.com> | 2010-03-19 13:09:50 -0700 |
commit | 962adba4e5db286a36bc8024f5c023bcf6f29312 (patch) | |
tree | 6ecb1d4d9ef4dd6d68ec4acdfd7506bd98568fba /vm/alloc/HeapSource.h | |
parent | 3e6f0f871e42f7d4738132ccfdb4d5602c8db57e (diff) | |
download | android_dalvik-962adba4e5db286a36bc8024f5c023bcf6f29312.tar.gz android_dalvik-962adba4e5db286a36bc8024f5c023bcf6f29312.tar.bz2 android_dalvik-962adba4e5db286a36bc8024f5c023bcf6f29312.zip |
Added flags to the vm:
-Xgc:[no]preverify
-Xgc:[no]postverify
to run verify routines over the heap pre- and post-gc.
Changed the Verify.h interface. It now publishes an entry point for
verifying a HeapBitmap, rather than the HeapBitmap callback.
Added a dvmHeapSuspendAndVerify to Heap.h for verification outside of
the GC.
Added callbacks before and after GC, under the locks, under flag control.
Processing of properties to produce flags is in a different project,
frameworks/base
Change-Id: I3f3896583fe9e7239bbe2f374d7ed4c5dd5d3e82
Diffstat (limited to 'vm/alloc/HeapSource.h')
-rw-r--r-- | vm/alloc/HeapSource.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vm/alloc/HeapSource.h b/vm/alloc/HeapSource.h index 940b627fa..221748c5b 100644 --- a/vm/alloc/HeapSource.h +++ b/vm/alloc/HeapSource.h @@ -54,6 +54,11 @@ void dvmHeapSourceGetObjectBitmaps(HeapBitmap objBits[], HeapBitmap markBits[], size_t numHeaps); /* + * Get the bitmap representing all live objects. + */ +HeapBitmap *dvmHeapSourceGetLiveBits(); + +/* * Returns the requested value. If the per-heap stats are requested, fill * them as well. */ |