OSDN Git Service

Change the bitmap callback signature to have a void return value.
authorCarl Shapiro <cshapiro@google.com>
Fri, 30 Jul 2010 03:39:50 +0000 (20:39 -0700)
committerCarl Shapiro <cshapiro@google.com>
Fri, 30 Jul 2010 04:44:50 +0000 (21:44 -0700)
commit006346e8f138b4e4b16c7a94b049c1646b009b52
tree725d4147904fa55168a24e6da37b0e882abc5957
parent995b5ae8fc12df378dc4f228c86ab5f5bcb3a1a2
Change the bitmap callback signature to have a void return value.

Previously, a bitmap callback could abort the bitmap traversal by
returning false.  All of the bitmap callbacks used in the garbage
collector are hardwired to return true.  This change eliminates the
early termination facility and its attendant complexity.

Change-Id: I5490dd74b56b9700ec1b7e657637fae5eb4cc339
vm/alloc/HeapBitmap.c
vm/alloc/HeapBitmap.h
vm/alloc/MarkSweep.c
vm/alloc/Verify.c