diff options
| author | 2017-07-17 14:51:53 -0700 | |
|---|---|---|
| committer | 2017-07-17 18:01:17 -0700 | |
| commit | 93764b8ee58d54118904b8f4473628451e568893 (patch) | |
| tree | 729758b4420920b7bb7070dbdac1ecd86810b2a8 /compiler/driver/compiler_driver.h | |
| parent | d317295ed07384c69d5890d6b17b80d57139a082 (diff) | |
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
Diffstat (limited to 'compiler/driver/compiler_driver.h')
| -rw-r--r-- | compiler/driver/compiler_driver.h | 4 | 
1 files changed, 2 insertions, 2 deletions
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<CompiledMethod*> MethodTable; +  typedef AtomicDexRefMap<CompiledMethod*> MethodTable;   private:    // All method references that this compiler has compiled.  |