summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-05-10 18:13:20 -0700
committerMathieu Chartier <mathieuc@google.com>2016-05-11 09:56:42 -0700
commit10c5f56423feaf3eadb3d4c09c61d2b998404162 (patch)
tree95ff81b9106f5425e9903e5239ccf410aa8bc3ea /compiler/optimizing/graph_visualizer.cc
parent718d4e269810c17d03df909c84b2f7bbd4f61fb9 (diff)
Prevent ArtMethod clearing race
There was race condition where the GC would be visiting the methods of a class while the class linker overwrote the contents with 0xFE when copying to a new array. Since the GC is holding the class table lock at this time, we can use this lock in the class linker to prevent the race. Bug: 28699001 Change-Id: I91ca2406ef723e7be69cd1c53f4bafa2e5f63657
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions