summaryrefslogtreecommitdiff
path: root/runtime/runtime_callbacks_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2025-02-12 14:30:16 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2025-02-18 07:29:58 -0800
commit17c7ed2de734cf892b005b1d15b3db9855506f14 (patch)
treeec7cd925e8648e601166e835a061d7b290940e00 /runtime/runtime_callbacks_test.cc
parentcb3c3b2819f326d54a6bd960a9a82c5290aa69b0 (diff)
Refactor `Instrumentation` out of `Runtime`.
Avoid indirectly `#include`-ing `instrumentation.h` in every compilation unit that needs the `runtime.h`. This reduces incremental compilation times when touching certain files. The additional load when accessing `Instrumentation` via the `Runtime` has negligible performance impact. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Ibaf96696693b105e843c7c2cbf4e7604b126808e
Diffstat (limited to 'runtime/runtime_callbacks_test.cc')
-rw-r--r--runtime/runtime_callbacks_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/runtime_callbacks_test.cc b/runtime/runtime_callbacks_test.cc
index f63b2f4096..0fd9efa65e 100644
--- a/runtime/runtime_callbacks_test.cc
+++ b/runtime/runtime_callbacks_test.cc
@@ -35,6 +35,7 @@
#include "dex/class_reference.h"
#include "handle.h"
#include "handle_scope-inl.h"
+#include "instrumentation.h"
#include "mirror/class-alloc-inl.h"
#include "mirror/class_loader.h"
#include "monitor-inl.h"