diff options
author | 2025-02-12 14:30:16 +0000 | |
---|---|---|
committer | 2025-02-18 07:29:58 -0800 | |
commit | 17c7ed2de734cf892b005b1d15b3db9855506f14 (patch) | |
tree | ec7cd925e8648e601166e835a061d7b290940e00 /test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc | |
parent | cb3c3b2819f326d54a6bd960a9a82c5290aa69b0 (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 'test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc')
-rw-r--r-- | test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc b/test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc index 9ae1bedd23..a6ce0521e4 100644 --- a/test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc +++ b/test/2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc @@ -19,6 +19,7 @@ #include "arch/context.h" #include "art_method-inl.h" +#include "instrumentation.h" #include "jni.h" #include "scoped_thread_state_change.h" #include "stack.h" |