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

tarantool / luajit / 13195589116
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 07 Feb 2025 08:07AM 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

07 Feb 2025 07:46AM UTC coverage: 92.995% (+0.06%) from 92.94%
13195589116

push

github

Buristan
Fix detection of inconsistent renames due to sunk values.

Thanks to Sergey Kaplun.

(cherry picked from commit 811e448da)

This commit is a follow-up to the commit
3a2e4847c ("Detect inconsistent renames
even in the presence of sunk values."). Due to the reversed assembling
order of a trace, all registers are allocated from the bottom of the
trace to the top. Furthermore, if the snapshot contains sunk values, IRs
for them will contain the `RID_SUNK` after the first processing. If
there is another snapshot (with a smaller number) containing this sunk
IR, this IR will not be processed during the bloom filter marking in the
allocation of the slot that escapes this snapshot (since it is already
sunk). Hence, such IRs still may lead to the rename invariant violation
like in the aforementioned commit.

This patch prevents scanning from stopping when already sunk IR is faced
during snapshot processing so bloom filters contain actual information.
The disadvantage of this approach is that it assumes that any sunk
table-typed IR can't refer to the same table inside it (so there should
not be any cycling references in the sunk table).

Sergey Kaplun:
* added the description and the test for the problem

Resolves tarantool/tarantool#10746
Relates to tarantool/aeon#282
Part of tarantool/tarantool#11055

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

5699 of 6035 branches covered (94.43%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

5 existing lines in 4 files now uncovered.

21713 of 23442 relevant lines covered (92.62%)

2963010.87 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.29
-0.05% src/lj_record.c
1
97.42
-0.18% src/lj_trace.c
1
78.42
-0.08% src/lj_opt_fold.c
2
96.98
-0.38% src/lj_snap.c
Jobs
ID Job ID Ran Files Coverage
1 13195589116.1 07 Feb 2025 08:07AM UTC 89
92.99
GitHub Action Run
Source Files on build 13195589116
  • Tree
  • List 89
  • Changed 87
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13195589116
  • e0c8208e on github
  • Prev Build on tarantool/master (#13159888090)
  • Next Build on tarantool/master (#13202075295)
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