summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_test.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-07-19 14:39:24 -0700
committerAlex Light <allight@google.com>2018-08-01 09:15:23 -0700
commita2af2b0c761a04d1e1ba4b1ccdc2efb4692e9c9c (patch)
tree6c84decdf15db52cf8c20074f55b6f4fc89f9520 /compiler/optimizing/stack_map_test.cc
parentd0c6ec392756fd038ebb8aeaad19aed94c5fd1a5 (diff)
Fix race in CommitCodeInternal and cleanup
JitCodeCache::CommitCodeInternal had a race where it gained the code-cache lock to allocate memory, then drops it and potentially suspends. It relied on the time for a code-collect being strictly more than the time this function took, creating a race. This CL Changes the lock ordering of CHA to allow us to cleanup the CommitCodeInternal function and remove the race. Test: ./test.py --host --jit Change-Id: I13c7ec6c56f07660778009ad8ce9c8c10bc2d57d
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions