summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2025-01-13 08:35:02 +0000
committer Mythri Alle <mythria@google.com> 2025-01-23 03:30:51 -0800
commitcf6e01f7b23ddaa2fcc2ecedc08b61575cf3f84a (patch)
tree5be20934df033692584c06b3c4ffecdbb9bf33ff /compiler/common_compiler_test.h
parentf562686141dab3e71ceb0fe3397ab8d191873afb (diff)
Avoid using trace_data_lock_ in TraceStartCheckpoint
We used to record methods currently on thread stack into a string in trace_data_. This required using a lock to synchronize across different threads. This CL changes this by recording this information into the per-thread buffer avoiding the need of locks. Since we record them in the per-thread buffer we would have fewer free spaces in the buffer. We don't expect this to be a big problem. Bug: 352518093 Test: art/test.py Change-Id: Ia9960456a17cfabf5ff6680925f4243b8bb892fb
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions