summaryrefslogtreecommitdiff
path: root/runtime/instrumentation_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/instrumentation_test.cc')
-rw-r--r--runtime/instrumentation_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/instrumentation_test.cc b/runtime/instrumentation_test.cc
index f81f050139..260ccb621c 100644
--- a/runtime/instrumentation_test.cc
+++ b/runtime/instrumentation_test.cc
@@ -183,6 +183,10 @@ class InstrumentationTest : public CommonRuntimeTest {
static constexpr const char* kClientOneKey = "TestClient1";
static constexpr const char* kClientTwoKey = "TestClient2";
+ InstrumentationTest() {
+ use_boot_image_ = true; // Make the Runtime creation cheaper.
+ }
+
void CheckConfigureStubs(const char* key, Instrumentation::InstrumentationLevel level) {
ScopedObjectAccess soa(Thread::Current());
instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation();