Fix gcstress tests.
Bug: 19295410
Change-Id: I15db7c1f9c78b632106beab6a6c97a2b3c37f110
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index b27bd6b..a5df892 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -464,13 +464,6 @@
}
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