summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-06-08 09:21:12 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2020-06-09 03:01:52 +0000
commit16527e892b13c9e1fb34f8d2e9993e58a72ac662 (patch)
tree05161726eb314545689ce8f7b6454217a437fe70 /compiler/optimizing/graph_visualizer.cc
parenta8106bc4d8c12a4877cbab64d1dd0c1619b6ad50 (diff)
Preserve JNI bindings across structural redefinition
We were incorrectly clearing the JNI bindings of native methods on classes which are structurally redefined. This can cause major issues with code which uses JNIEnv::RegisterNatives to setup native methods. This change copies the required information from the old to the new method. Since the RegisterNatives method can be run asynchronously we need to wait until we gain the final SuspendAll to actually read and copy the registration. Test: ./test.py --host Bug: 158476592 Change-Id: Ie8a33234bb852a46e5275502c842553637c8a2c6
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions