@@ -3880,17 +3880,17 @@ def prep_no_SAB(self):
3880
3880
@requires_threads
3881
3881
def test_pthread_c11_threads (self ):
3882
3882
self .btest_exit ('pthread/test_pthread_c11_threads.c' ,
3883
- args = ['-gsource-map' , '-std=gnu11' , '-pthread' , '-sPROXY_TO_PTHREAD' , '-sTOTAL_MEMORY=64mb' ])
3883
+ args = ['-gsource-map' , '-std=gnu11' , '-pthread' , '-sPROXY_TO_PTHREAD' ])
3884
3884
3885
3885
@requires_threads
3886
3886
def test_pthread_pool_size_strict (self ):
3887
3887
# Check that it doesn't fail with sufficient number of threads in the pool.
3888
3888
self .btest_exit ('pthread/test_pthread_c11_threads.c' ,
3889
- args = ['-g2' , '-std=gnu11' , '-pthread' , '-sPTHREAD_POOL_SIZE=4' , '-sPTHREAD_POOL_SIZE_STRICT=2' , '-sTOTAL_MEMORY=64mb' ])
3889
+ args = ['-g2' , '-std=gnu11' , '-pthread' , '-sPTHREAD_POOL_SIZE=4' , '-sPTHREAD_POOL_SIZE_STRICT=2' ])
3890
3890
# Check that it fails instead of deadlocking on insufficient number of threads in the pool.
3891
3891
self .btest ('pthread/test_pthread_c11_threads.c' ,
3892
3892
expected = 'abort:Assertion failed: thrd_create(&t4, thread_main, NULL) == thrd_success' ,
3893
- args = ['-g2' , '-std=gnu11' , '-pthread' , '-sPTHREAD_POOL_SIZE=3' , '-sPTHREAD_POOL_SIZE_STRICT=2' , '-sTOTAL_MEMORY=64mb' ])
3893
+ args = ['-g2' , '-std=gnu11' , '-pthread' , '-sPTHREAD_POOL_SIZE=3' , '-sPTHREAD_POOL_SIZE_STRICT=2' ])
3894
3894
3895
3895
@requires_threads
3896
3896
def test_pthread_in_pthread_pool_size_strict (self ):
@@ -3911,7 +3911,7 @@ def test_pthread_atomics(self, args):
3911
3911
# Test 64-bit atomics.
3912
3912
@requires_threads
3913
3913
def test_pthread_64bit_atomics (self ):
3914
- self .btest_exit ('pthread/test_pthread_64bit_atomics.c' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3914
+ self .btest_exit ('pthread/test_pthread_64bit_atomics.c' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3915
3915
3916
3916
# Test 64-bit C++11 atomics.
3917
3917
@parameterized ({
@@ -4233,7 +4233,7 @@ def test_pthread_proxying_in_futex_wait(self):
4233
4233
def test_pthread_sbrk (self , args ):
4234
4234
# With aborting malloc = 1, test allocating memory in threads
4235
4235
# With aborting malloc = 0, allocate so much memory in threads that some of the allocations fail.
4236
- self .btest_exit ('pthread/test_pthread_sbrk.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '-sINITIAL_MEMORY=128MB' ] + args )
4236
+ self .btest_exit ('pthread/test_pthread_sbrk.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args )
4237
4237
4238
4238
# Test that -sABORTING_MALLOC=0 works in both pthreads and non-pthreads
4239
4239
# builds. (sbrk fails gracefully)
0 commit comments