diff options
| author | 2018-02-01 19:09:59 +0300 | |
|---|---|---|
| committer | 2018-03-15 14:57:09 +0000 | |
| commit | ab2ce84d4995f05c38c5ebfefc6683b244a36260 (patch) | |
| tree | d094cd4b6456500bbe0b59859ae533f064b061a7 /runtime/class_table.h | |
| parent | 056967eb7e08d2c22f99aea52f871c2d018a373b (diff) | |
Fix dangling SingleImplementations left after class unloading
Test: make test-art-host, manual using sample code
bug: 73143991
(cherry picked from commit be4c2bd892bd167a50b4dfa7133e70a809197698)
Change-Id: I5f4d726334a9ea306d93b967966c58111fd34fd1
Diffstat (limited to 'runtime/class_table.h')
| -rw-r--r-- | runtime/class_table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_table.h b/runtime/class_table.h index 48129b1241..19c29b5768 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 <typename Visitor> + template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> bool Visit(Visitor& visitor) REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); - template <typename Visitor> + template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> bool Visit(const Visitor& visitor) REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); |