commit | c17656bcf477e57d59ff051037c96994fd0ac8f2 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Nov 17 13:16:35 2021 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Mon Nov 22 15:28:02 2021 +0000 |
tree | 78704cdca54c7437a34c9ca4b9da27ed6e9c0f4d | |
parent | 53296a7ed4ccf1cccfb32ed9da3aae90bc8b7ff2 [diff] |
JNI: Rewrite locking for synchronized methods. Lock and unlock in dedicated entrypoints instead of the `JniMethodStart*()` and `JniMethodEnd*()` entrypoints. Update x86 and x86-64 lock/unlock entrypoints to use the same checks as arm and arm64. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: run-gtests.sh Test: testrunner.py --target --optimizing Bug: 172332525 Change-Id: I82b5af211aa22479f8b0eec7f3a50bc92ec87eca