summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-10-04 16:57:36 -0700
committerAlex Light <allight@google.com>2017-10-18 17:01:37 -0700
commitb1e31a8337b9cce2f3160a972123886b355dce27 (patch)
tree30413acc04bd03c385b3b6023e332ecc535ff4ee /compiler/optimizing/graph_visualizer.cc
parent8cdfac752808784d29185710095ad104922cd861 (diff)
Change RequestSynchronousCheckpoint to release thread_list_lock_
The RequestSynchronousCheckpoint function in some cases needs to release the thread_list_lock_ as it waits for a checkpoint to be executed. This means that the thread being checkpointed might be deleted. Previously it was not obvious this was the case since the thread_list_lock_ seemed to be held throughout the execution of the method. In order to prevent bugs we make RequestSynchronousCheckpoint explicitly release the thread_list_lock_ when executed, meaning code will be aware that threads might die during its execution. Bug: 67362832 Test: ./test.py --host -j50 Change-Id: I1cbdf7660096dc1908b0eeabc1062447307bc888
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions