Clone
Louis Jacomet <louis@gradle.com>
committed
on 29 Oct 18
Support concurrent access in DefaultCachedMetadata
The code was optimized to have a singleton map as much as possible. But
lacked the necess… Show more
Support concurrent access in DefaultCachedMetadata

The code was optimized to have a singleton map as much as possible. But

lacked the necessary protections to move out of that case.

As soon as we move beyond a single mapping, we use a concurrent map

underneath and the map swap is now properly protected.

Show less

green-master + 395 more