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

tarantool / luajit / 13972802049
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: tarantool/release/3.7
DEFAULT BRANCH: tarantool/master
Ran 20 Mar 2025 03:22PM 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

20 Mar 2025 03:13PM UTC coverage: 93.004% (+0.03%) from 92.97%
13972802049

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.

5704 of 6042 branches covered (94.41%)

Branch coverage included in aggregate %.

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

3 existing lines in 3 files now uncovered.

21763 of 23491 relevant lines covered (92.64%)

3839611.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.28
-0.32% src/lj_trace.c

Coverage Regressions

Lines Coverage ∆ File
1
87.81
0.33% src/lj_crecord.c
1
99.35
-0.15% src/lj_gc.c
1
97.28
-0.32% src/lj_trace.c
Jobs
ID Job ID Ran Files Coverage
1 13972802049.1 20 Mar 2025 03:22PM UTC 89
93.0
GitHub Action Run
Source Files on build 13972802049
  • Tree
  • List 89
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13972802049
  • 2705d468 on github
  • Prev Build on tarantool/master (#13970826735)
  • Next Build on skaplun/gh-noticket-fix-gc-finalizer-pressure (#13977767379)
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