commit | 80eddeeb7660e50af95155decf4c64ba2dd0abf0 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Dec 03 10:29:24 2015 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Dec 03 12:59:24 2015 -0800 |
tree | 37055f300ee06ff2028def3ea9af75418c9ee849 | |
parent | 6edc0e269dcfa2282ac195c9c83237707d778922 [diff] |
Change DirectByteBuffer to avoid allocating a cleaner for normal case Cleaners are currently buggy and end up never getting cleaned up, this was causing all direct byte buffers to never get GCed. For this case, we probably want to avoid a cleaner anyways since the destructor free() is trivial. Bug: 25994460 Change-Id: Ibf30113c7092dbf2af3c717a4b578c4281975dec