summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-07-11 10:00:46 +0000
committer Mythri Alle <mythria@google.com> 2023-07-11 16:02:35 +0000
commit33aba2c05aec7065fab5e863ad9708de20c3b57c (patch)
tree17146b058aa1b9767c0e90e0ca8567f59e2ac143 /compiler/optimizing
parent1262576f22da6ebbe7ae015ff8bcee5c8349220b (diff)
Don't use Atomics for cur_offset_ into method trace buffer
In non-streaming mode we allowed simulataneous access to the buffer from multiple threads by maintaining the cur_offset_ as an AtomicInteger. Now we use per-thread buffer and access buffer only in SuspendAllScope when holding the tracing_lock_. So we no longer need atomics for the cur_offset_ Bug: 259258187 Test: art/test.py --stream Change-Id: If022204b2d9f63d53e66752d4d9b37bc22ff4224
Diffstat (limited to 'compiler/optimizing')
0 files changed, 0 insertions, 0 deletions