Files
frameworks_base/core/java/android/app
Rhed Jao 129aa44896 Add a synchronized lock into the SplitDependencyLoaderImpl
- There's a potential race condition going on when components
  from the isolated split are creating the split class loader.
  Add a synchronized lock for the array of cached class loaders
  and resource paths to prevent the race.

- Remove the synchronized class reference of LoadedApk. Using an
  explicit mLock object to synchronize the
  #createOrUpdateClassLoaderLocked() and cached split class loader
  instead.

Bug: 172602571
Test: atest IsolatedSplitsTests
Test: atest ClassloaderSplitsTest
Test: atest SplitTests
Change-Id: Ifb77d067ddf06b5192d7ce9d4e78958b56faac7c
2021-04-26 12:49:20 +08:00
..
2021-03-23 11:25:29 +00:00
2021-03-05 19:59:28 -07:00
2021-01-19 14:24:10 -08:00
2021-04-08 23:56:27 +00:00
2021-02-08 16:20:28 +00:00
2021-04-15 02:45:36 +00:00