summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-05-24 17:41:05 -0700
committerCalin Juravle <calin@google.com>2017-05-25 15:09:31 -0700
commite6f87cc95e5351f3872a4c50e18915a282578ff8 (patch)
tree94af0c8fb8c8926f2bf3fe20d8c3ad6d7dcc4efb /compiler/optimizing/graph_visualizer.cc
parent798ba16bda747d74a27b7a748d3bb5deb2ccbf68 (diff)
Fix compiler crash due to inline caches and improve docs
Fix a potential crash when extracting the inline caches from the method. The way we copied the inline cache into a new map was not correct. In ProfileCompilationInfo::GetMethod() we reused the same profile arena for allocation which is not thread safe. When compiling with multiple threads the profile arena could become corrupted due to races. Address all the comments from the late reviews on the CL which migrates the profiles to arena storage. Test: m test-art-host compile with speed-profile apps on device Bug: 37711886 Bug: 62062532 Change-Id: I61af5175bc68b2c7dba77afb3cdff221989cc387
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions