diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-03-13 11:33:37 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-03-13 16:38:25 -0700 |
commit | 12d625f87bcd6c4059a205bb39007a255f57f382 (patch) | |
tree | b69f6f80f56977c176e0c441869d2f1de06ede70 /runtime/runtime.h | |
parent | b871a15f1f662c8efe10d41199180bd00b6decd1 (diff) | |
download | android_art-12d625f87bcd6c4059a205bb39007a255f57f382.tar.gz android_art-12d625f87bcd6c4059a205bb39007a255f57f382.tar.bz2 android_art-12d625f87bcd6c4059a205bb39007a255f57f382.zip |
Change method verifiers to be thread local roots
Bug: 10921004
Change-Id: I3a1425d76cd380587ba67ef6d5ec1227564e55bf
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index d54972c7a6..3cf22bf269 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -456,11 +456,6 @@ class Runtime { return use_compile_time_class_path_; } - void AddMethodVerifier(verifier::MethodVerifier* verifier) - LOCKS_EXCLUDED(Locks::method_verifiers_lock_); - void RemoveMethodVerifier(verifier::MethodVerifier* verifier) - LOCKS_EXCLUDED(Locks::method_verifiers_lock_); - const std::vector<const DexFile*>& GetCompileTimeClassPath(jobject class_loader); // The caller is responsible for ensuring the class_path DexFiles remain @@ -642,9 +637,6 @@ class Runtime { Mutex fault_message_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; std::string fault_message_ GUARDED_BY(fault_message_lock_); - // Method verifier set, used so that we can update their GC roots. - std::set<verifier::MethodVerifier*> method_verifiers_ GUARDED_BY(Locks::method_verifiers_lock_); - // A non-zero value indicates that a thread has been created but not yet initialized. Guarded by // the shutdown lock so that threads aren't born while we're shutting down. size_t threads_being_born_ GUARDED_BY(Locks::runtime_shutdown_lock_); |