Commit 63e4917a authored by Logan Chien's avatar Logan Chien Committed by Andreas Gampe
Browse files

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
parent fedf03e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment