diff options
author | 2024-01-17 11:09:16 -0800 | |
---|---|---|
committer | 2024-01-17 11:09:16 -0800 | |
commit | 6c7e8ff86f4bbc276cb8a53e971c915dacd13f47 (patch) | |
tree | 81afc99782a129d8425447e065fc34808b6d73c0 /java/dexpreopt_config_testing.go | |
parent | 744a2a6b7d89e044b8fdc438e329be131e1e93dd (diff) |
Fix data race in snapshot singletons when running parallel tests
Singleton objects need to be created in the singleton factory rather
than as a global variable so that they have a unique object per
context in order to allow multiple tests to run in parallel.
Test: go test -race ./...
Change-Id: Ib6912849e1b849ffe8646882cfb476ddea6c6b55
Diffstat (limited to 'java/dexpreopt_config_testing.go')
0 files changed, 0 insertions, 0 deletions