From be4c2bd892bd167a50b4dfa7133e70a809197698 Mon Sep 17 00:00:00 2001 From: Alexey Grebenkin Date: Thu, 1 Feb 2018 19:09:59 +0300 Subject: Fix dangling SingleImplementations left after class unloading Test: make test-art-host, manual using sample code bug: 73143991 Change-Id: I4d56b39c69d4ed60266a8b90b9e9d18fba7b8227 --- runtime/class_table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/class_table.h') diff --git a/runtime/class_table.h b/runtime/class_table.h index 52e9f82396..3e90fe2768 100644 --- a/runtime/class_table.h +++ b/runtime/class_table.h @@ -190,11 +190,11 @@ class ClassTable { REQUIRES_SHARED(Locks::mutator_lock_); // Stops visit if the visitor returns false. - template + template bool Visit(Visitor& visitor) REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); - template + template bool Visit(const Visitor& visitor) REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); -- cgit v1.2.3-59-g8ed1b