diff options
author | Mathieu Chartier <mathieuc@google.com> | 2013-09-18 00:33:00 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-18 00:33:01 +0000 |
commit | 8c7ec8cd8e39809ed31cb62bc3b068430042bd76 (patch) | |
tree | 0ef55b9099fab8a4216e06ce67655d38f7a43940 /runtime/runtime.cc | |
parent | b307052d619ec757478951fc026e6230c92e3b36 (diff) | |
parent | 6aa3df965395566ed6a4fec4af37c2b7577992e9 (diff) | |
download | art-8c7ec8cd8e39809ed31cb62bc3b068430042bd76.zip art-8c7ec8cd8e39809ed31cb62bc3b068430042bd76.tar.gz art-8c7ec8cd8e39809ed31cb62bc3b068430042bd76.tar.bz2 |
Merge "Refactor system weak sweeping, add support for modification." into dalvik-dev
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r-- | runtime/runtime.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 02ed59f..fe33185 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -319,6 +319,12 @@ size_t ParseIntegerOrDie(const std::string& s) { return result; } +void Runtime::SweepSystemWeaks(RootVisitor* visitor, void* arg) { + GetInternTable()->SweepInternTableWeaks(visitor, arg); + GetMonitorList()->SweepMonitorList(visitor, arg); + GetJavaVM()->SweepJniWeakGlobals(visitor, arg); +} + Runtime::ParsedOptions* Runtime::ParsedOptions::Create(const Options& options, bool ignore_unrecognized) { UniquePtr<ParsedOptions> parsed(new ParsedOptions()); const char* boot_class_path_string = getenv("BOOTCLASSPATH"); |