grpc / grpc/grpc-java

Improve thread safety docs for fields in ServerImpl

Open
#2,042 0 comments 0 reactions 0 assignees View on GitHub
Type: Documentation
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

Split out of https://github.com/grpc/grpc-java/pull/2032#discussion_r70340687. `usingSharedExecutor` and `executor` aren't using `GuardedBy` semantics. It isn't clear to @carl-mastrangelo that the current code is valid. Improve the docs/code to correct/make the correctness more clear.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.