grpc-java/grpclb
Stephane Landelle 1e30cb6601
core,grpclb: Resolve isAndroid only once on class loading (#10345)
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.
2023-07-06 13:42:43 -07:00
..
src core,grpclb: Resolve isAndroid only once on class loading (#10345) 2023-07-06 13:42:43 -07:00
BUILD.bazel grpclb: Include META-INF/services to //grpclb:grpclb (#9156) 2022-05-10 09:02:33 -07:00
build.gradle Use test fixtures instead of sourceSets.test.output 2023-05-16 12:10:13 -07:00