diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-05-19 10:13:04 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-05-20 16:30:50 -0700 |
commit | 1b1e31fa720d3f8c9b1a9cca41fecc46f38fe731 (patch) | |
tree | 1b0a37098e4308ff20d4e41bd91ec6b7f932edf7 /compiler/optimizing/graph_visualizer.cc | |
parent | 96c6ad804369b20f3b9c3693df539d905ae475c2 (diff) |
Only fill methods with 0xFE on debug builds
The GC scans classes without holding any locks, we can not fill
the methods if it is running. Added a GC critical section to address
this. Fixes random crash when scanning classes' methods.
Only for debug builds to not hurt performance.
(cherry picked from commit 22bd2a1b5ec2a5038cc3ae1964781f30aef0315f)
Bug: 28699001
Change-Id: If96155eaf3fc0e6df31f57dcf32fbd4063b09345
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions