Increase fibers stack size if we're running with ASAN
authorStepan Palamarchuk <stepan@fb.com>
Fri, 8 May 2015 23:44:31 +0000 (16:44 -0700)
committerPraveen Kumar Ramakrishnan <praveenr@fb.com>
Tue, 12 May 2015 00:02:50 +0000 (17:02 -0700)
commit8232c2cd35be2479278d9081c81b909dc14a37e6
treef7094c21483a52ca186bd02564461c38ae6afcdd
parent4a92da5b87f3c4616e31875a4b62cca015ebea36
Increase fibers stack size if we're running with ASAN

Summary:
In most cases user is not aware of ASAN and fiber stack problem, thus if the stackSize is specified we're not detecting ASAN and probably will crash.
And thus it doesn't seem like a good idea to make it a user responsibility to detect ASAN.

Test Plan: tests

Reviewed By: andrii@fb.com

Subscribers: alikhtarov, folly-diffs@, yfeldblum, chalfant

FB internal diff: D2058741

Tasks: 7016680

Signature: t1:2058741:1431131082:9a41eb40d756c9c7af0632f7ecd55c17d10bb189
folly/experimental/fibers/FiberManager-inl.h
folly/experimental/fibers/FiberManager.h