summaryrefslogtreecommitdiffstats
path: root/runtime/class_linker.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-08-22 12:12:56 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2014-08-25 16:18:55 -0700
commit8850011ceffce5de38262169de74e4a41ced50eb (patch)
treeff0b6f9a54cf3eadaecbd7452eb335fbce9dd5a9 /runtime/class_linker.h
parent7713d104f34606161fbf36497be2e2aa76d87ca9 (diff)
downloadart-8850011ceffce5de38262169de74e4a41ced50eb.zip
art-8850011ceffce5de38262169de74e4a41ced50eb.tar.gz
art-8850011ceffce5de38262169de74e4a41ced50eb.tar.bz2
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
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r--runtime/class_linker.h5
1 files changed, 0 insertions, 5 deletions
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<mirror::DexCache> dex_cache)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- void ConstructFieldArray(const DexFile& dex_file, const DexFile::ClassDef& dex_class_def,
- mirror::Class* c,
- ConstHandle<mirror::ObjectArray<mirror::ArtField>> 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,