-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a IsInitialized check in AOT code with clinit at entry checks.
The investigations behind https://android-review.googlesource.com/c/platform/art/+/2214701 showed that it can take some time for a class to become visibly initialized. To avoid a busy loop between the AOT code and the resolution trampoline, we also add a isInitialized check, which if true will be followed by a memory barrier and the execution of the compiled code. Test: test.py Bug: 162110941 Change-Id: I6c36cde6ebd12b1f81281eb8a684b496f266e3ea
- Loading branch information
Nicolas Geoffray
committed
Sep 14, 2022
1 parent
b7b5fe5
commit f853790
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters