[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: nCcalls in the global state keeps increasing in 5.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 8 Aug 2011 09:26:13 -0300
> > As far as I understand, the nCcalls still counts correctly the
> > difference of calls/returns in the C stack(s) that is (are) running
> > Lua. But if there are many threads (and stacks), the difference may be
> > large sometimes.
>
> Not really a problem then. Thanks for checking!
I am afraid I was wrong (or not exactly right...). In case of errors the
nCcalls count may become wrong. (A pcall saves nCcalls and restores it
to its original valua in case of errors; counts for call/return in other
threads between the pcall and the error will be lost.)
-- Roberto
- References:
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Willhelm Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Wim Couwenberg
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Wim Couwenberg