[Kde-bindings] Ruby 1.9.x GC.stress + qtruby ([BUG] object allocation during garbage collection phase)
Cyrille Berger
cberger at cberger.net
Fri Mar 13 08:39:19 UTC 2009
On Thursday 12 March 2009, Richard Dale wrote:
> I think turning off virtual method callbacks during GC is more reliable.
> But I had thought of caching the result for a virtual method callback test,
> so it only has to be done once for an instance (or once per Ruby class
> perhaps). It needs a bit more thought.
Not sure if I did understood correctly what you want to cache :) But wouldn't
that be a problem if the virtual function is added after the test ? Would the
function still be called ? Or would the caching prevent that ?
> We could also change the smoke library code generation so that there would
> be a flag for each virtual method call, and set that after the first test,
> instead of testing each time.
--
Cyrille Berger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20090313/b49c4177/attachment.html>
More information about the Kde-bindings
mailing list