commit | 61d2b2d353ba4ab952247d2bff2c905598118bb4 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Feb 04 13:31:46 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Feb 04 15:45:24 2016 -0800 |
tree | 93a34ade4a10dce218d756ef45d56358ab88b4d2 | |
parent | a4e981265dd57adbe755e12a814c0f30ae073c2f [diff] |
Use GC critical section for adding and removing app images A SuspendAll was not sufficient since there are points during the GC when the mutator lock can be temporarily released. This was causing at least some assert failures in CC such as attempting to clear black read barrier pointers on app image objects with white read barrier pointers. Bug: 26979834 Bug: 26970811 Bug: 26786304 Bug: 22858531 Change-Id: I375fc05e787e629c40de6f345802447c02601ff0