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

tarantool / tarantool / 24730
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: extend_audit
DEFAULT BRANCH: master
Ran 06 Oct 2020 12:39PM UTC
Jobs 1
Files 309
Run time 42s
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

06 Oct 2020 10:38AM UTC coverage: 82.785% (-0.03%) from 82.816%
24730

push

travis-ci

kyukhin
lua: prohibit fiber yield when GC hook is active

While running GC hook (i.e. __gc  metamethod) garbage collector engine
is "stopped": the memory penalty threshold is set to LJ_MAX_MEM and
incremental GC step is not triggered as a result. Ergo, yielding the
execution at the finalizer body leads to further running platform with
disabled LuaJIT GC. It is not re-enabled until the yielded fiber doesn't
get the execution back.

This changeset extends <cord_on_yield> routine with the check whether GC
hook is active. If the switch-over occurs in scope of __gc metamethod
the platform is forced to stop its execution with EXIT_FAILURE and calls
panic routine before the exit.

Relates to #4518
Follows up #4727

Reviewed-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Reviewed-by: Sergey Ostanevich <sergos@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>
(cherry picked from commit d3f1dd720)

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

42506 of 51345 relevant lines covered (82.79%)

965290.54 hits per line

Jobs
ID Job ID Ran Files Coverage
3 24730.3 (TARGET=coverage) 06 Oct 2020 12:39PM UTC 0
82.79
Travis Job 24730.3
Source Files on build 24730
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #24730
  • 8099cb05 on github
  • Prev Build on 1.10 (#24682)
  • Next Build on 1.10 (#24737)
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