commit | 63e4917a05e094bb815d5ba036870538e477f6e7 | [log] [tgz] |
---|---|---|
author | Logan Chien <logan.chien@mediatek.com> | Wed Jun 08 11:33:36 2016 +0800 |
committer | Andreas Gampe <agampe@google.com> | Tue Sep 12 15:13:56 2017 -0700 |
tree | 83e4432396137729fb71f84ea23b3a4216a32617 | |
parent | fedf03e8f940627411e537f714c397c64cf0d7df [diff] |
Nativehelper: Remove static locals for field and method IDs. This commit replaces static locals with lazy initialization functions so that field and method IDs can be updated between different VM instances. It also adds a clear() function to reset the state. Bug: 65522645 Test: m Test: m test-art-host Change-Id: I340cc2ced6b2e5bcd541f1d7b9741574e37c27eb