diff options
| author | 2020-03-30 17:57:26 -0700 | |
|---|---|---|
| committer | 2020-03-31 10:17:58 -0700 | |
| commit | ca1c39addf4446c8eff3cf0b304112c59b400b18 (patch) | |
| tree | cba9fb59cf4126222a50aa40357f8e1f7121336d /compiler/jit/jit_compiler.cc | |
| parent | 1abd3ec2c338bf3d0c7e68399d94554e468a8e3f (diff) | |
Fix race condition in GetPreResolvedStrings
DexCache::VisitReferences had a race condition where a null pointer
could be accessed if there was another concurrent caller doing
ClearPreResolvedStrings.
Fix is to add an extra null check that prevents the race.
Bug: 152716138
Test: test-art-host
Change-Id: Ib447ce689e23f7c20d4cda8b457abeb89ade9291
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
0 files changed, 0 insertions, 0 deletions