diff options
| author | 2022-09-12 11:19:34 +0100 | |
|---|---|---|
| committer | 2022-09-12 13:11:02 +0000 | |
| commit | c5e3d23f9a6eb4b1825524a556c164fd66eae571 (patch) | |
| tree | 053313891b0067d0bc3b1f5e0772781cef91413a /libnativeloader/library_namespaces.cpp | |
| parent | 56ea350354917234963fefcf0492f2488c6d2ecd (diff) | |
Fix on the visiblity initialized counter logic.
There could be a flow where a thread calls
`MakeInitializedClassesVisiblyInitialized`, but there is no callbacks to
run. In this case, we were not clearing the counter, and that meant we
were waiting a long time for the next time calling
`MakeInitializedClassesVisiblyInitialized`.
Test: test.py
Test: 084-class-init in a loop, not hitting the new DCHECK
Change-Id: Ic724236255f6bd7f642f7777a8d2db334bd99dcd
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions