StackBounds initialization in WTFThreadData should be guarded by #if USE(JSC)
Created attachment 77901 [details] Patch
Comment on attachment 77901 [details] Patch Clearing flags on attachment: 77901 Committed r75011: <http://trac.webkit.org/changeset/75011>
All reviewed patches have been landed. Closing bug.
http://trac.webkit.org/changeset/75011 might have broken Qt Linux Release
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.
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.
(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.