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

tarantool / luajit / 13989956548
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 21 Mar 2025 10:45AM UTC
Jobs 1
Files 89
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

21 Mar 2025 10:34AM UTC coverage: 93.072% (+0.1%) from 92.97%
13989956548

push

github

Buristan
ffi/gc: restore back rehashing of finalizers table

This is a follow-up to the commits
2115828bc ("FFI: Drop finalizer table
rehash after GC cycle.") and bfcbaa70e
("Drop unused function wrapper."). After them, the rehashing of the cdata
finalizer table at the end of the GC cycle is dropped. Without
reshashing of this table, the table increases the estimated amount of
memory for the GC. Hence, with the bigger `estimate`, the threshold
before starting the GC cycle is increased too. This allows allocating
more cdata objects and increasing the size of the finalizer table again.
This increases the memory estimate again and so on. As a result, we have
unlimited memory growth without rehashing of the table for the
cdata-intensive workloads.

This patch reverts back the code changes (but not the test) of the
aforementioned commits. Also, it fixes the possible crash after
rehashing of the cdata finalizers table by adding the protected call to
the GC steps on the trace itself and on the trace exit.

Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>

5707 of 6042 branches covered (94.46%)

Branch coverage included in aggregate %.

30 of 31 new or added lines in 3 files covered. (96.77%)

5 existing lines in 3 files now uncovered.

21780 of 23491 relevant lines covered (92.72%)

3843446.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.46
-0.14% src/lj_trace.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.81
0.33% src/lj_crecord.c
1
99.35
-0.15% src/lj_gc.c
3
93.09
-0.99% src/lj_ir.c
Jobs
ID Job ID Ran Files Coverage
1 13989956548.1 21 Mar 2025 10:45AM UTC 89
93.07
GitHub Action Run
Source Files on build 13989956548
  • Tree
  • List 89
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13989956548
  • 577aa321 on github
  • Prev Build on tarantool/master (#13970826735)
  • Next Build on tarantool/master (#14994614192)
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