commit | d57d454a11ac6f49eaa397ec14d6231e3a2727b7 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Oct 14 10:55:30 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Oct 15 08:38:29 2015 -0700 |
tree | ab8e705584702d73a6f943a02838a3225b1a5118 | |
parent | 2248d278460f18db9bcdc5a1bdb2dcdfdde2d301 [diff] |
Allocate dex cache arrays in their class loader's linear alloc Fixes memory leak for class unloading where the dex cache arrays used to be in the runtime linear alloc which never got freed. TODO: Some of the callers like the compiler just use the runtime linear alloc. We could clean this up if we want to have class unloading during compilation for some reason. Added regression test. Bug: 22720414 Change-Id: Ia50333a06a339efbdaedb5ad94b7a1ae841124ec