mirror of https://github.com/grpc/grpc-java.git
Motivation: When multiple NameResolvers are created, the Classloader is scanned every time trying to figure out if the Platform is Android. This expensive work could be done only once. Modification: Cache isAndroid resolution in a constant. Result: Less expensive multiple NameResolvers instantiation. |
||
|---|---|---|
| .. | ||
| generated/main/grpc/io/grpc/lb/v1 | ||
| main | ||
| test/java/io/grpc/grpclb | ||