summaryrefslogtreecommitdiffstats
path: root/runtime/gc/heap.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-03-06 18:11:53 -0800
committerMathieu Chartier <mathieuc@google.com>2014-03-07 12:09:04 -0800
commitc645f1ddb7c40bea6a38eda4b3f83f6b6dec405b (patch)
treede6141864c1c011216c19dd99a2c1e2bc442dd6d /runtime/gc/heap.h
parenta9d7be62735e3356cef7e8ed797c519134a17061 (diff)
downloadart-c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b.zip
art-c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b.tar.gz
art-c645f1ddb7c40bea6a38eda4b3f83f6b6dec405b.tar.bz2
Add more VerifyObject calls.
Added verify object calls to SirtRef, IndirectReferenceTable, ReferenceTable. Removed un-needed verify object in ScopedObjectAccess / DecodeJObject since object sources are handled. Bug: 12934910 Change-Id: I55a46a8ea61fed2a77526eda27fd2cce97a9b125
Diffstat (limited to 'runtime/gc/heap.h')
-rw-r--r--runtime/gc/heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h
index 4c4e943..3a8739a 100644
--- a/runtime/gc/heap.h
+++ b/runtime/gc/heap.h
@@ -192,7 +192,7 @@ class Heap {
void SwapSemiSpaces() EXCLUSIVE_LOCKS_REQUIRED(Locks::mutator_lock_);
- void DebugCheckPreconditionsForAllocObject(mirror::Class* c, size_t byte_count)
+ void CheckPreconditionsForAllocObject(mirror::Class* c, size_t byte_count)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
void ThrowOutOfMemoryError(size_t byte_count, bool large_object_allocation);