summaryrefslogtreecommitdiff
path: root/compiler/optimizing/jit_patches_arm64.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-01-04 14:20:38 +0000
committer Mythri Alle <mythria@google.com> 2024-01-04 14:27:46 +0000
commit2a2d99fede088cb471ba8fb9e600f977e6cb98b4 (patch)
tree82c65e34f6d479ddfc022044dea6fef5ec28d6e8 /compiler/optimizing/jit_patches_arm64.cc
parentc8309515d099992b7cab8f2b8c6db3ed77671ff4 (diff)
Wait for TraceWriter tasks to finish before stopping workers
We used to wait for tasks to finish after stopping the workers which actually doesn't let the tasks finish.This meant that we didn't flush the buffers fully. Another fix in this CL is to not synchronously flush the current per-thread buffer when stopping tracing. Synchronous flush would bypass the tasks in the queue and that would mean the requests are not processed in order. It is important to process them in order so that the information about new methods is flushed before the method entry / exits corresponding to those methods. Bug: 259258187 Test: art/test.py -t 2246 Change-Id: I6144ed108b72d284b574306b5dace148ad51ac86
Diffstat (limited to 'compiler/optimizing/jit_patches_arm64.cc')
0 files changed, 0 insertions, 0 deletions