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

JuliaLang / julia / 1648
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: gba/test-juliac
DEFAULT BRANCH: master
Ran 25 Mar 2026 12:19AM UTC
Jobs 3
Files 351
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

24 Mar 2026 04:47PM UTC coverage: 77.559%. First build
1648

Pull #536

buildkite

web-flow
Make `jl_object_in_image` thread-safe (#61386)

This was being accessed from `method.c` / `module.c`, where it was a
data race. This moves the Eytzinger code into `src/support` so that it
can be maintained separately from `staticdata.c` and adds a `rwlock` to
make the concurrent access thread-safe.

This lock does have significant overhead, compared to this (small)
search. `jl_object_in_image` queries are typically ~15 ns w/o PR, and
~50 ns with (>2x regression). However since this is no longer used in
the GC, this overhead amounts to ~2-3 milliseconds of total runtime even
with many (200+) packages loaded.

My real motivation is to have an async-signal-safe range query that I
can use for https://github.com/JuliaLang/julia/pull/61294 (I need to
query whether we faulted in a pkgimage to know whether to throw a
`DivideError`).

Claude 🤖 was used to assist with the re-factor. Also discussed various
atomics-related minutia.

---------

Co-authored-by: Claude <claude@anthropic.com>
Pull Request #536:

64515 of 83182 relevant lines covered (77.56%)

23628194.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1648 macos-coverage - 1648 25 Mar 2026 12:19AM UTC 351
76.24
1648 windows-coverage - 1648 25 Mar 2026 03:54AM UTC 317
76.38
1648 linux-coverage - 1648 25 Mar 2026 03:41AM UTC 350
76.19
Source Files on build 1648
  • Tree
  • List 351
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #536
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