From 93764b8ee58d54118904b8f4473628451e568893 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 17 Jul 2017 14:51:53 -0700 Subject: Generalize atomic_method_ref_map to support dex references Generalize atomic method ref map to support dex references instead of only method references. The goal is to use this in a future CL to replace compiled_classes_. Test: test-art-host Change-Id: Ic6d1e619584f790eea68f5160fa0fcd664524cd7 --- compiler/driver/compiler_driver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/driver/compiler_driver.h') diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index e9e73787e4..a3272d331d 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -39,7 +39,7 @@ #include "os.h" #include "safe_map.h" #include "thread_pool.h" -#include "utils/atomic_method_ref_map.h" +#include "utils/atomic_dex_ref_map.h" #include "utils/dex_cache_arrays_layout.h" namespace art { @@ -489,7 +489,7 @@ class CompilerDriver { mutable Mutex compiled_classes_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; ClassStateTable compiled_classes_ GUARDED_BY(compiled_classes_lock_); - typedef AtomicMethodRefMap MethodTable; + typedef AtomicDexRefMap MethodTable; private: // All method references that this compiler has compiled. -- cgit v1.2.3-59-g8ed1b