commit | 22bd2a1b5ec2a5038cc3ae1964781f30aef0315f | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu May 19 10:13:04 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri May 20 00:32:49 2016 +0000 |
tree | 431af3571b95ca86e825e9b1e8ee11ddebbae989 | |
parent | 84c5ad8ea51f8fde8eedddd3dc979dcc1f6e02aa [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. Bug: 28699001 Change-Id: If96155eaf3fc0e6df31f57dcf32fbd4063b09345