|
Ran
|
Jobs
1
|
Files
309
|
Run time
47s
|
Badge
README BADGES
|
push
travis-ci
lua: abort trace recording on fiber yield Since Tarantool fibers don't respect Lua coroutine switch mechanism, JIT machinery stays unnotified when one lua_State substitutes another one. As a result if trace recording hasn't been aborted prior to fiber switch, the recording proceeds using the new lua_State and leads to a failure either on any further compiler phase or while the compiled trace is executed. This changeset extends <cord_on_yield> routine aborting trace recording when the fiber switches to another one. If the switch-over occurs while mcode is being run the platform finishes its execution with EXIT_FAILURE code and calls panic routine prior to the exit. Closes #1700 Fixes #4491 Reviewed-by: Sergey Ostanevich <sergos@tarantool.org> Reviewed-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Signed-off-by: Igor Munkin <imun@tarantool.org> (cherry picked from commit 2711797be)
10 of 10 new or added lines in 1 file covered. (100.0%)
42515 of 51337 relevant lines covered (82.82%)
980422.72 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 3 | 24682.3 (TARGET=coverage) | 0 |
82.82 |
Travis Job 24682.3 |