diff options
author | Mathieu Chartier <mathieuc@google.com> | 2013-09-17 15:17:28 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2013-09-17 16:31:24 -0700 |
commit | 6aa3df965395566ed6a4fec4af37c2b7577992e9 (patch) | |
tree | c17406cf6cbea16165ad05130609450ff0e1e204 /runtime/intern_table.h | |
parent | cb135ad769a5368f6ceb8caf25105a95580cbd6a (diff) | |
download | art-6aa3df965395566ed6a4fec4af37c2b7577992e9.zip art-6aa3df965395566ed6a4fec4af37c2b7577992e9.tar.gz art-6aa3df965395566ed6a4fec4af37c2b7577992e9.tar.bz2 |
Refactor system weak sweeping, add support for modification.
Required for moving collectors.
Change-Id: Ib97ba4a05af1139f8d388077a15e62bcb9534855
Diffstat (limited to 'runtime/intern_table.h')
-rw-r--r-- | runtime/intern_table.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/intern_table.h b/runtime/intern_table.h index a804d1f..e5e19b7 100644 --- a/runtime/intern_table.h +++ b/runtime/intern_table.h @@ -55,8 +55,7 @@ class InternTable { // Interns a potentially new string in the 'weak' table. (See above.) mirror::String* InternWeak(mirror::String* s) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - void SweepInternTableWeaks(IsMarkedTester is_marked, void* arg) - SHARED_LOCKS_REQUIRED(Locks::heap_bitmap_lock_); + void SweepInternTableWeaks(RootVisitor visitor, void* arg); bool ContainsWeak(mirror::String* s) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |