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

grpc / grpc-java / #19410
89%

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2024 10:46PM UTC
Jobs 1
Files 603
Run time 1min
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

09 Aug 2024 10:38PM UTC coverage: 84.467% (+0.007%) from 84.46%
#19410

push

github

ejona86
util: SocketAddress.toString() cannot be used for equality

Some addresses are equal even though their toString is different
(InetSocketAddress ignores the hostname when it has an address). And
some addresses are not equal even though their toString might be the
same (AnonymousInProcessSocketAddress doesn't override toString()).

InetSocketAddress/InetAddress do not cache the toString() result. Thus,
even in the worst case that uses a HashSet, this should use less memory
than the earlier approach, as no strings are formatted. It probably also
significantly improves performance in the reasonably common case when an
Endpoint is created just for looking up a key, because the string
creation in the constructor isn't then amorized.
updateChildrenWithResolvedAddresses(), for example, creates n^2 Endpoint
objects for lookups.

33270 of 39388 relevant lines covered (84.47%)

0.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
88.89
-2.06% ../core/src/main/java/io/grpc/internal/DelayedClientCall.java
Jobs
ID Job ID Ran Files Coverage
1 #19410.1 09 Aug 2024 10:46PM UTC 603
84.47
Source Files on build #19410
  • Tree
  • List 603
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19410
  • f866c805 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

© 2025 Coveralls, Inc