diff options
Diffstat (limited to 'runtime/runtime.cc')
| -rw-r--r-- | runtime/runtime.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 9f0ef7c1d0..68fa0d32be 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -78,7 +78,6 @@ #include "jit/jit.h" #include "jni_internal.h" #include "linear_alloc.h" -#include "lambda/box_table.h" #include "mirror/array.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" @@ -115,6 +114,7 @@ #include "native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.h" #include "native/sun_misc_Unsafe.h" #include "native_bridge_art_interface.h" +#include "native_stack_dump.h" #include "oat_file.h" #include "oat_file_manager.h" #include "os.h" @@ -442,7 +442,6 @@ void Runtime::SweepSystemWeaks(IsMarkedVisitor* visitor) { GetMonitorList()->SweepMonitorList(visitor); GetJavaVM()->SweepJniWeakGlobals(visitor); GetHeap()->SweepAllocationRecords(visitor); - GetLambdaBoxTable()->SweepWeakBoxedLambdas(visitor); } bool Runtime::ParseOptions(const RuntimeOptions& raw_options, @@ -1015,9 +1014,6 @@ bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) { jit_options_->SetSaveProfilingInfo(false); } - // Allocate a global table of boxed lambda objects <-> closures. - lambda_box_table_ = MakeUnique<lambda::BoxTable>(); - // Use MemMap arena pool for jit, malloc otherwise. Malloc arenas are faster to allocate but // can't be trimmed as easily. const bool use_malloc = IsAotCompiler(); @@ -1638,7 +1634,6 @@ void Runtime::DisallowNewSystemWeaks() { intern_table_->ChangeWeakRootState(gc::kWeakRootStateNoReadsOrWrites); java_vm_->DisallowNewWeakGlobals(); heap_->DisallowNewAllocationRecords(); - lambda_box_table_->DisallowNewWeakBoxedLambdas(); } void Runtime::AllowNewSystemWeaks() { @@ -1647,7 +1642,6 @@ void Runtime::AllowNewSystemWeaks() { intern_table_->ChangeWeakRootState(gc::kWeakRootStateNormal); // TODO: Do this in the sweeping. java_vm_->AllowNewWeakGlobals(); heap_->AllowNewAllocationRecords(); - lambda_box_table_->AllowNewWeakBoxedLambdas(); } void Runtime::BroadcastForNewSystemWeaks() { @@ -1658,7 +1652,6 @@ void Runtime::BroadcastForNewSystemWeaks() { intern_table_->BroadcastForNewInterns(); java_vm_->BroadcastForNewWeakGlobals(); heap_->BroadcastForNewAllocationRecords(); - lambda_box_table_->BroadcastForNewWeakBoxedLambdas(); } void Runtime::SetInstructionSet(InstructionSet instruction_set) { |