Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
FFI: Drop finalizer table rehash after GC cycle. Reported by Sergey Kaplun. (cherry picked from commit fb22d0f80) The raising of the OOM error when rehashing the finalizer table (when we can't allocate a new hash part) leads to crashes in either `lj_trace_exit()` or `lj_trace_unwind()` due to unprotected error raising, which either has no DWARF eh_frame [1] or loses the context of the JIT compiler. This patch drops rehashing of the cdata finalizer table to avoid these crashes. It will prevent the cdata finalizer table from shrinking when the huge amount of the cdata objects is collected by the GC. OTOH, the finzlizer table most probably will grop anyway to the old size, so this is not crucial. Sergey Kaplun: * added the description and the test for the problem [1]: https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/ehframechpt.html Part of tarantool/tarantool#10199 Resolves tarantool/tarantool#10290
5688 of 6025 branches covered (94.41%)
Branch coverage included in aggregate %.
21707 of 23430 relevant lines covered (92.65%)
2952567.49 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
99.22 |
-0.78% | src/lj_func.c |
1 |
96.2 |
-0.05% | src/lj_record.c |
3 |
98.1 |
-0.63% | src/lj_tab.c |
4 |
94.74 |
-2.87% | src/lj_str.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10748896599.1 | 89 |
93.01 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|