summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-02-06 15:21:08 -0800
committerHiroshi Yamauchi <yamauchi@google.com>2015-02-06 15:21:08 -0800
commit4af0b08c7da92770f1ef92a260fa0eecccba6899 (patch)
tree45819ed1161a7e096f1ba6ce2f7b300f64988645 /runtime/parsed_options.cc
parent076018addcb0f27d1a4ed9d1967a28bd5fb21230 (diff)
downloadart-4af0b08c7da92770f1ef92a260fa0eecccba6899.tar.gz
art-4af0b08c7da92770f1ef92a260fa0eecccba6899.tar.bz2
art-4af0b08c7da92770f1ef92a260fa0eecccba6899.zip
Fix gcstress tests.
Bug: 19295410 Change-Id: I15db7c1f9c78b632106beab6a6c97a2b3c37f110
Diffstat (limited to 'runtime/parsed_options.cc')
-rw-r--r--runtime/parsed_options.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index b27bd6b235..a5df892e29 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -464,13 +464,6 @@ bool ParsedOptions::Parse(const RuntimeOptions& options, bool ignore_unrecognize
}
args.Set(M::BackgroundGc, BackgroundGcOption { background_collector_type_ });
- {
- XGcOption* xgc = args.Get(M::GcOption);
- if (xgc != nullptr) {
- xgc->collector_type_ = collector_type_;
- args.Set(M::GcOption, *xgc);
- }
- }
}
// If a reference to the dalvik core.jar snuck in, replace it with