From 7a62e6728463237684d3d9834d81bd7bba7ab197 Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Fri, 10 Jun 2016 17:22:48 -0700 Subject: Propagate the read barrier option to Class::VisitNativeRoots. Propagate the read barrier option from Object::VisitReferences to Class::VisitNativeRoots. This is a step toward the GC thread avoiding graying objects (and reducing dirty pages) in the immune spaces. Bug: 12687968 Change-Id: I29c4126a4ad4c40e63a934e62451fb3fb36aad43 --- runtime/class_linker.h | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/class_linker.h') diff --git a/runtime/class_linker.h b/runtime/class_linker.h index f6ce545a19..3cf0fb6e3b 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -482,6 +482,7 @@ class ClassLinker { SHARED_REQUIRES(Locks::mutator_lock_); std::string GetDescriptorForProxy(mirror::Class* proxy_class) SHARED_REQUIRES(Locks::mutator_lock_); + template ArtMethod* FindMethodForProxy(mirror::Class* proxy_class, ArtMethod* proxy_method) REQUIRES(!dex_lock_) SHARED_REQUIRES(Locks::mutator_lock_); -- cgit v1.2.3-59-g8ed1b