commit | 511683764f2580d877725e20514ca4976c91bbfb | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Aug 12 16:40:32 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Aug 12 18:28:59 2015 -0700 |
tree | e9a5fa23a95c87cb655affd4249177467ae9dbf5 | |
parent | b923298c9b6e47b4110dd0cb23cb6a4e98b8552b [diff] |
Wait for GC to finish in ThreadList::~ThreadList Added a DisableGC to the heap instead of using the runtime shutdown boolean. The runtime shutting down boolean is set to true before the non daemon threads have exited. These threads may still be doing allocations and we don't want to throw OOME if unnecessary. Bug: 18577101 Change-Id: Iceb7048e6bd799aa2716099459c54f8dc0fb8feb