summaryrefslogtreecommitdiff
path: root/runtime/monitor_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/monitor_test.cc')
-rw-r--r--runtime/monitor_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/monitor_test.cc b/runtime/monitor_test.cc
index 66008f3ff2..64986b65d9 100644
--- a/runtime/monitor_test.cc
+++ b/runtime/monitor_test.cc
@@ -35,12 +35,17 @@ namespace art {
class MonitorTest : public CommonRuntimeTest {
protected:
+ MonitorTest() {
+ use_boot_image_ = true; // Make the Runtime creation cheaper.
+ }
+
void SetUpRuntimeOptions(RuntimeOptions *options) override {
// Use a smaller heap
SetUpRuntimeOptionsForFillHeap(options);
options->push_back(std::make_pair("-Xint", nullptr));
}
+
public:
std::unique_ptr<Monitor> monitor_;
Handle<mirror::String> object_;