mirror of https://github.com/grpc/grpc-java.git
Use a volatile to publish the value even though it is final. TSAN ignores the final aspect of a field, which is fair since another thread may not see the parent's pointer become updated and use a stale value. The lack of synchronization was clearly against lastServiceConfig's documentation. Fixes #9267 |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||