From 17c7ed2de734cf892b005b1d15b3db9855506f14 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 12 Feb 2025 14:30:16 +0000 Subject: 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 --- runtime/quick_exception_handler.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/quick_exception_handler.cc') diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index 365a63459d..8180d0a5b3 100644 --- a/runtime/quick_exception_handler.cc +++ b/runtime/quick_exception_handler.cc @@ -34,6 +34,7 @@ #include "entrypoints/quick/quick_entrypoints_enum.h" #include "entrypoints/runtime_asm_entrypoints.h" #include "handle_scope-inl.h" +#include "instrumentation.h" #include "interpreter/shadow_frame-inl.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" -- cgit v1.2.3-59-g8ed1b