summaryrefslogtreecommitdiff
path: root/runtime/class_table.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-01-07 16:29:01 -0800
committer Mathieu Chartier <mathieuc@google.com> 2016-01-07 18:33:06 -0800
commit1f47b678db70d57aa5194266651a8f4336fc851e (patch)
treea87144657ae8d824f80465019a094fef8ac35c4c /runtime/class_table.h
parentb7332f1c774c675b5264a45890e72bf140664018 (diff)
Re-enable class table for image writer
Changes, create one temporary class table per ImageInfo. Don't keep track of class loaders. Bug: 26317072 Change-Id: I4f9121194f39031fb8629d60b6feeb2747a77870
Diffstat (limited to 'runtime/class_table.h')
-rw-r--r--runtime/class_table.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/class_table.h b/runtime/class_table.h
index c911365698..911f3c22db 100644
--- a/runtime/class_table.h
+++ b/runtime/class_table.h
@@ -106,8 +106,7 @@ class ClassTable {
// Combines all of the tables into one class set.
size_t WriteToMemory(uint8_t* ptr) const
- REQUIRES(Locks::classlinker_classes_lock_)
- SHARED_REQUIRES(Locks::mutator_lock_);
+ SHARED_REQUIRES(Locks::classlinker_classes_lock_, Locks::mutator_lock_);
size_t ReadFromMemory(uint8_t* ptr)
REQUIRES(Locks::classlinker_classes_lock_)
SHARED_REQUIRES(Locks::mutator_lock_);