• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / #20287
89%

Build:
DEFAULT BRANCH: master
Ran 20 May 2026 03:38PM UTC
Jobs 1
Files 658
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2026 03:19PM UTC coverage: 88.846% (-0.02%) from 88.862%
#20287

push

github

ejona86
xds: Reduce per-endpoint memory from CDS

The locality name is long, so we don't want a different copy for each
endpoint. The PathChains can use a similar amount of memory, so we also
want to share them.

The code no longer re-creates the EAG and Attributes, reducing garbage;
that isn't as important as we're more concerned about retained memory in
steady-state. But there was little reason for the waste, thus the
cleanup.

This fixes a bug for PathChains longer than 2 entries, which was never
triggered as our PathChains are always 2 entries long. Previously the
code would discard all but the first and last entry, with the same
pathChain.next being repeatedly overwritten.

Noticed the memory use when investigating b/507652503.

36466 of 41044 relevant lines covered (88.85%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
69.83
-4.31% ../servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
4
92.95
0.05% ../xds/src/main/java/io/grpc/xds/CdsLoadBalancer2.java
3
90.21
-1.05% ../core/src/main/java/io/grpc/internal/DelayedClientCall.java
1
96.57
-0.57% ../core/src/main/java/io/grpc/internal/DelayedClientTransport.java
1
87.6
-0.83% ../rls/src/main/java/io/grpc/rls/LinkedHashLruCache.java
Jobs
ID Job ID Ran Files Coverage
1 #20287.1 20 May 2026 03:38PM UTC 658
88.85
Source Files on build #20287
  • Tree
  • List 658
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20287
  • cc0d1a81 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc