summaryrefslogtreecommitdiff
path: root/libnativeloader/library_namespaces.cpp
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-09-12 11:19:34 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2022-09-12 13:11:02 +0000
commitc5e3d23f9a6eb4b1825524a556c164fd66eae571 (patch)
tree053313891b0067d0bc3b1f5e0772781cef91413a /libnativeloader/library_namespaces.cpp
parent56ea350354917234963fefcf0492f2488c6d2ecd (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