From 8850011ceffce5de38262169de74e4a41ced50eb Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Fri, 22 Aug 2014 12:12:56 -0700 Subject: Remove an intermediate field array in ClassLinker::InitializeClass. This improves on CL 105090 by removing the need for the intermediate field array by iterating two iterators in parallel. Bug: 12687968 Change-Id: I32d4570948a9d39ccb1c20a02e18b48f15ed0738 --- runtime/class_linker.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/class_linker.h') diff --git a/runtime/class_linker.h b/runtime/class_linker.h index 67a7b23..52ecff6 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -439,11 +439,6 @@ class ClassLinker { void AppendToBootClassPath(const DexFile& dex_file, ConstHandle dex_cache) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - void ConstructFieldArray(const DexFile& dex_file, const DexFile::ClassDef& dex_class_def, - mirror::Class* c, - ConstHandle> field_array) - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - // Precomputes size needed for Class, in the case of a non-temporary class this size must be // sufficient to hold all static fields. uint32_t SizeOfClassWithoutEmbeddedTables(const DexFile& dex_file, -- cgit v1.1