From 12d625f87bcd6c4059a205bb39007a255f57f382 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Fri, 13 Mar 2015 11:33:37 -0700 Subject: Change method verifiers to be thread local roots Bug: 10921004 Change-Id: I3a1425d76cd380587ba67ef6d5ec1227564e55bf --- runtime/runtime.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'runtime/runtime.h') 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& 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 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_); -- cgit v1.2.3