We run tests in parallel and recently we began hitting a high enough degree of parallelism that we've begun seeing "unsynchronized access to map" errors in our test passes (intermittently). The root cause is that access to the type symbol caches aren't synchronized. It would be ideal if we actually rewired these to be cached in the compiler context -- rather than being global -- but this fix is sufficient for now. We will simply synchronize access using a Mutex. |
||
---|---|---|
.. | ||
class.go | ||
funcs.go | ||
module.go | ||
package.go | ||
stable.go | ||
symbol.go | ||
types.go | ||
vars.go |