commit | 48b40cc97377fe67657b9936ad19395c4218b489 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Mon Aug 07 16:52:40 2017 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Aug 07 18:01:57 2017 +0100 |
tree | 6998d031e17120b8165e1f9202f433bcdda8dca1 | |
parent | c7c25d5b4cf243cbbf06f2e4302a0faa5eccb42a [diff] |
Use the right class loader allocator in ReallocMethods. Otherwise we would leak memory. Also complies with the JitCodeCache assumption that ArtMethods are allocated with the classloader that loaded the class where those ArtMethods hang. bug: 64241268 Test: 661-classloader-allocator Change-Id: I9e4ddbf8f40547084a1a4983459db48f68743cc7