diff options
author | 2023-01-29 18:16:24 +0000 | |
---|---|---|
committer | 2023-01-29 18:16:24 +0000 | |
commit | 24b3d648ff6c2c200003f55ac63fc910d7bfd40f (patch) | |
tree | 1c1324dc63cca9a7b3ea7a0a432535fa25c47d88 /runtime/class_table-inl.h | |
parent | df68c0a6f0d36728fa728049e5bcec20de2d0d5e (diff) |
Revert "Write classes in runtime-generated app image."
This reverts commit df68c0a6f0d36728fa728049e5bcec20de2d0d5e.
Reason for revert: b/267084527
Change-Id: I2eacf89c23db00c46d56e78009efa11bed31af60
Diffstat (limited to 'runtime/class_table-inl.h')
-rw-r--r-- | runtime/class_table-inl.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/class_table-inl.h b/runtime/class_table-inl.h index ecc8a0a620..67eeb553a4 100644 --- a/runtime/class_table-inl.h +++ b/runtime/class_table-inl.h @@ -213,11 +213,6 @@ inline ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass, uint32_t de DCHECK_EQ(descriptor_hash, klass->DescriptorHash()); } -inline ClassTable::TableSlot::TableSlot(uint32_t ptr, uint32_t descriptor_hash) - : data_(ptr | MaskHash(descriptor_hash)) { - DCHECK_ALIGNED(ptr, kObjectAlignment); -} - template <typename Filter> inline void ClassTable::RemoveStrongRoots(const Filter& filter) { WriterMutexLock mu(Thread::Current(), lock_); @@ -232,11 +227,6 @@ inline ObjPtr<mirror::Class> ClassTable::LookupByDescriptor(ObjPtr<mirror::Class return Lookup(descriptor, hash); } -inline size_t ClassTable::Size() const { - ReaderMutexLock mu(Thread::Current(), lock_); - return classes_.size(); -} - } // namespace art #endif // ART_RUNTIME_CLASS_TABLE_INL_H_ |