Ran
|
Files
89
|
Run time
3s
|
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
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|