[Webkit-unassigned] [Bug 65399] StackBounds checker fails on custom stack implementations (typically in a coroutine setting)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 12:53:28 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=65399





--- Comment #14 from Slava Akhmechet <coffeemug at gmail.com>  2011-09-21 12:53:28 PST ---
(In reply to comment #13)
> I just realised that this behaviour may not be GC safe -- JSC is a conservative collector: at gc time we perform a conservative sweep of all machine stacks for references to GC objects.  By hoisting execution of the OS stack it seems that you would put JSC into a state where at least one set of roots can be missed.
> 
> How do you avoid this problem?
Ahh, you're correct.  We get around this by writing our code and creating contexts and context groups in a very precise way. We could fix this, but it's getting increasingly hacky. We'll just work around this in our code, please feel free to close this, and sorry for using up the time.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list