RESOLVED FIXED Bug 51881
StackBounds initialization in WTFThreadData should be guarded by #if USE(JSC)
https://bugs.webkit.org/show_bug.cgi?id=51881
Summary StackBounds initialization in WTFThreadData should be guarded by #if USE(JSC)
James Robinson
Reported 2011-01-04 10:32:43 PST
StackBounds initialization in WTFThreadData should be guarded by #if USE(JSC)
Attachments
Patch (2.31 KB, patch)
2011-01-04 10:39 PST, James Robinson
no flags
James Robinson
Comment 1 2011-01-04 10:39:30 PST
WebKit Commit Bot
Comment 2 2011-01-04 14:47:59 PST
Comment on attachment 77901 [details] Patch Clearing flags on attachment: 77901 Committed r75011: <http://trac.webkit.org/changeset/75011>
WebKit Commit Bot
Comment 3 2011-01-04 14:48:05 PST
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 4 2011-01-04 14:54:34 PST
http://trac.webkit.org/changeset/75011 might have broken Qt Linux Release
Gavin Barraclough
Comment 5 2011-01-04 21:26:41 PST
This seems like a slightly odd change to make. There are a number of features of WTF that are presently only used in JSC, but we don't choose to #ifdef, and there is unsafe recursion in WebCore that could be addressed using this mechanism. Still, this doesn't do any actual harm - we can always just remove the #ifdefs if and when we do start making use of this from WebCore.
James Robinson
Comment 6 2011-01-04 22:23:17 PST
This particular bit of code was causing problems with the Chromium linux sandbox, which motivated the change. If we want to use this functionality elsewhere we'll have to figure out how to make those pthread_* calls from within the sandbox (or route the calls some other way for Chromium linux). It seemed easier to just #ifdef the code out for non-JSC builds since it's not currently being used outside of JSC.
Gavin Barraclough
Comment 7 2011-01-04 22:40:54 PST
(In reply to comment #6) > This particular bit of code was causing problems with the Chromium linux sandbox, which motivated the change. If we want to use this functionality elsewhere we'll have to figure out how to make those pthread_* calls from within the sandbox (or route the calls some other way for Chromium linux). It seemed easier to just #ifdef the code out for non-JSC builds since it's not currently being used outside of JSC. Ah, makes sense now, & good to know. If we plan on making use of this from WebCore then I'll try to make sure we give you some heads up, so you have time to look into the sandboxing issues.
Note You need to log in before you can comment on or make changes to this bug.