DescriptionSet at least PTHREAD_STACK_MIN stack size when creating threads.
This patch makes sure, that the stack size of the new threads are never
less than PTHREAD_STACK_MIN, otherwise the pthread_attr_setstacksize()
function sets the default stack size (8MB), which leads to failure
in the BootUpMemoryUse test.
TEST=cctest/test-mark-compact/BootUpMemoryUse
BUG=
R=yangguo@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17610
Patch Set 1 #Patch Set 2 : Move the fix to the constructor. #Patch Set 3 : Fix size=0 case. #Messages
Total messages: 7 (0 generated)
|