summaryrefslogtreecommitdiff
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2020-10-12 15:43:54 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-10-12 15:43:54 +0000
commit45a01f21cae3a0d25e689b86a0273c5b8c46244f (patch)
tree0c7169d33b71d643957e1acdaffc0ff61d4526fb /runtime/runtime.cc
parenta706b3294032ff1a9640b13e44b05369a946e2d1 (diff)
parentae7168e19f886ed43ed200f9b0e769613df485f9 (diff)
Remove unused image space order argument am: ae7168e19f
Original change: https://android-review.googlesource.com/c/platform/art/+/1454864 Change-Id: I144568143d2af945eb2316a2be07823f5e10cb82
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc5
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);