summaryrefslogtreecommitdiff
path: root/compiler/utils/jni_macro_assembler.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-10-06 08:34:40 +0100
committer Vladimir Marko <vmarko@google.com> 2021-10-08 07:57:11 +0000
commitf9e82e5cae2c31f439ecbc505c2dcac81356405e (patch)
treea0d93b3e813115bc1ba57a9b5194e3419bf39aa3 /compiler/utils/jni_macro_assembler.h
parent983c21762de318f0991a8fc2074c81438b1e4f17 (diff)
Loosen class status check after resolving.
If `ClassLinker::LinkClass()` creates a new `Class` object, it takes an `ObjectLock` on that object but releases that lock when it returns to the `ClassLinker::DefineClass()`. Therefore another thread can try and fail to verify the class and mark it as resolved erroneous. The `CHECK()` that the class is not resolved erroneous was therefore wrong and we remove that part. Also dump the class status if the remaining `CHECK()` fails. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 202091046 Change-Id: Ida9c0d45478fbae913fcaabcc237048d28a4dd3d
Diffstat (limited to 'compiler/utils/jni_macro_assembler.h')
0 files changed, 0 insertions, 0 deletions