From 7ef52f75dd6e981e1e8c7567f593c197e8a94dcc Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Mon, 14 Aug 2017 18:52:32 +0000 Subject: Revert "ART: Use proxy ArtMethod's data_ to store the interface method." Broke a few tests with: +dalvikvm64 F 08-14 18:36:32 136697 136697 art_method-inl.h:392] Check failed: interface_method->GetDeclaringClass()->IsAssignableFrom(GetDeclaringClass()) This reverts commit 0888cf1821d6622fd623db31000be19b9365f81c. Change-Id: Idc93b6686392f9dfeca3bc11bd22104948fd9fd3 --- runtime/jit/jit_code_cache.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/jit/jit_code_cache.cc') diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc index 40a5212629..47ace7fa71 100644 --- a/runtime/jit/jit_code_cache.cc +++ b/runtime/jit/jit_code_cache.cc @@ -1169,6 +1169,7 @@ void JitCodeCache::DoCollection(Thread* self, bool collect_profiling_info) { RemoveUnmarkedCode(self); if (collect_profiling_info) { + ScopedThreadSuspension sts(self, kSuspended); MutexLock mu(self, lock_); // Free all profiling infos of methods not compiled nor being compiled. auto profiling_kept_end = std::remove_if(profiling_infos_.begin(), profiling_infos_.end(), -- cgit v1.2.3-59-g8ed1b