diff options
author | 2018-06-26 19:54:12 -0700 | |
---|---|---|
committer | 2018-10-25 09:52:28 -0700 | |
commit | 88dbad33ae92167a89a5d5469f39f41624535dbf (patch) | |
tree | b3b0c864c12c246117143954f16df054309852c6 /runtime/class_linker.h | |
parent | c58dca3941459b4375a53925f3471373584eab5e (diff) |
ART: Do some include-what-you-use
Help with transitive includes. In preparation for new
specialized headers reducing transitivity.
Bug: 118385392
Test: mmma art
Change-Id: Ib465ecceec3331ea81588fb4a43eb65e766b6904
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r-- | runtime/class_linker.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index cc17d57228..0ae7a9bbe6 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -556,12 +556,7 @@ class ClassLinker { REQUIRES_SHARED(Locks::mutator_lock_); template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> - ObjPtr<mirror::ObjectArray<mirror::Class>> GetClassRoots() REQUIRES_SHARED(Locks::mutator_lock_) { - ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots = - class_roots_.Read<kReadBarrierOption>(); - DCHECK(class_roots != nullptr); - return class_roots; - } + ObjPtr<mirror::ObjectArray<mirror::Class>> GetClassRoots() REQUIRES_SHARED(Locks::mutator_lock_); // Move the class table to the pre-zygote table to reduce memory usage. This works by ensuring // that no more classes are ever added to the pre zygote table which makes it that the pages |