mirror of https://github.com/grpc/grpc-java.git
benchmarks: Remove unnecessary volatile from TransportBenchmark
TearDown is guaranteed to execute after Setup; there is no synchronization necessary. Although the volatile doesn't hurt anything functionally, it is misleading and confusing.
This commit is contained in:
parent
a919ef7f74
commit
0aaaacec83
|
@ -69,7 +69,7 @@ public class TransportBenchmark {
|
|||
private ManagedChannel channel;
|
||||
private Server server;
|
||||
private BenchmarkServiceGrpc.BenchmarkServiceBlockingStub stub;
|
||||
private volatile EventLoopGroup groupToShutdown;
|
||||
private EventLoopGroup groupToShutdown;
|
||||
|
||||
@Setup
|
||||
@SuppressWarnings("LiteralClassName") // Epoll is not available on windows
|
||||
|
|
Loading…
Reference in New Issue