diff options
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r-- | runtime/runtime.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index a5c7f82380..6d849c446b 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -81,7 +81,6 @@ #include "intern_table.h" #include "interpreter/interpreter.h" #include "jit/jit.h" -#include "jit/jit_code_cache.h" #include "jni_internal.h" #include "linear_alloc.h" #include "mirror/array.h" @@ -492,14 +491,6 @@ void Runtime::SweepSystemWeaks(IsMarkedVisitor* visitor) { GetMonitorList()->SweepMonitorList(visitor); GetJavaVM()->SweepJniWeakGlobals(visitor); GetHeap()->SweepAllocationRecords(visitor); - if (GetJit() != nullptr) { - // Visit JIT literal tables. Objects in these tables are classes and strings - // and only classes can be affected by class unloading. The strings always - // stay alive as they are strongly interned. - // TODO: Move this closer to CleanupClassLoaders, to avoid blocking weak accesses - // from mutators. See b/32167580. - GetJit()->GetCodeCache()->SweepRootTables(visitor); - } // All other generic system-weak holders. for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { |