diff options
| author | 2020-10-09 15:13:29 +0100 | |
|---|---|---|
| committer | 2020-10-12 15:42:21 +0000 | |
| commit | ae7168e19f886ed43ed200f9b0e769613df485f9 (patch) | |
| tree | 0c7169d33b71d643957e1acdaffc0ff61d4526fb /runtime/runtime.cc | |
| parent | 5e8e5161e5f5a1e944f5bc6fd2ef893e0a33551b (diff) | |
Remove unused image space order argument
Bug: 160683548
Test: Treehugger
Change-Id: I249d2891b645fa103106ee946f014b9ce362cbda
Diffstat (limited to 'runtime/runtime.cc')
| -rw-r--r-- | runtime/runtime.cc | 5 |
1 files changed, 1 insertions, 4 deletions
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); |