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

grpc / grpc-java / #20287 / 1
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 20 May 2026 03:38PM UTC
Files 658
Run time 24s
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.1

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

Source Files on job #20287.1
  • Tree
  • List 658
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20287
  • cc0d1a81 on github
  • Prev Job for on master (##20286.1)
  • Next Job for on master (##20288.1)
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