From ae7168e19f886ed43ed200f9b0e769613df485f9 Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Fri, 9 Oct 2020 15:13:29 +0100 Subject: Remove unused image space order argument Bug: 160683548 Test: Treehugger Change-Id: I249d2891b645fa103106ee946f014b9ce362cbda --- runtime/runtime.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'runtime/runtime.cc') diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 95c40b475b..70e3ae3bba 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -1380,8 +1380,6 @@ bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) { // Generational CC collection is currently only compatible with Baker read barriers. bool use_generational_cc = kUseBakerReadBarrier && xgc_option.generational_cc; - image_space_loading_order_ = runtime_options.GetOrDefault(Opt::ImageSpaceLoadingOrder); - heap_ = new gc::Heap(runtime_options.GetOrDefault(Opt::MemoryInitialSize), runtime_options.GetOrDefault(Opt::HeapGrowthLimit), runtime_options.GetOrDefault(Opt::HeapMinFree), @@ -1421,8 +1419,7 @@ bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) { use_generational_cc, runtime_options.GetOrDefault(Opt::HSpaceCompactForOOMMinIntervalsMs), runtime_options.Exists(Opt::DumpRegionInfoBeforeGC), - runtime_options.Exists(Opt::DumpRegionInfoAfterGC), - image_space_loading_order_); + runtime_options.Exists(Opt::DumpRegionInfoAfterGC)); dump_gc_performance_on_shutdown_ = runtime_options.Exists(Opt::DumpGCPerformanceOnShutdown); -- cgit v1.2.3-59-g8ed1b