Running the following on Linux built with clang or gcc:

/usr/bin/time ./tools/run-tests.py --arch-and-mode=x64.debug 
cctest/test-api/MultipleIsolatesOnIndividualThreads

Fails with this:

=== cctest/test-api/MultipleIsolatesOnIndividualThreads ===                 
   
terminate called after throwing an instance of 'St9bad_alloc'
  what():  std::bad_alloc
Command: /var/projects/v8/out/x64.debug/cctest --stress-opt --always-opt 
test-api/MultipleIsolatesOnIndividualThreads --nobreak-on-abort 
--nodead-code-elimination --nofold-constants --enable-slow-asserts 
--debug-code --verify-heap 
--testing_serialization_file=/var/projects/v8/out/.serdes/serdes_MultipleIsolatesOnIndividualThreads__stress_opt__always_opt
=== cctest/test-api/MultipleIsolatesOnIndividualThreads ===                 
   
terminate called after throwing an instance of 'St9bad_alloc'
  what():  std::bad_alloc
Command: /var/projects/v8/out/x64.debug/cctest 
test-api/MultipleIsolatesOnIndividualThreads --nobreak-on-abort 
--nodead-code-elimination --nofold-constants --enable-slow-asserts 
--debug-code --verify-heap 
--testing_serialization_file=/var/projects/v8/out/.serdes/serdes_MultipleIsolatesOnIndividualThreads
=== cctest/test-api/MultipleIsolatesOnIndividualThreads ===                 
   
terminate called recursively
terminate called after throwing an instance of '
Command: /var/projects/v8/out/x64.debug/cctest --nocrankshaft 
test-api/MultipleIsolatesOnIndividualThreads --nobreak-on-abort 
--nodead-code-elimination --nofold-constants --enable-slow-asserts 
--debug-code --verify-heap 
--testing_serialization_file=/var/projects/v8/out/.serdes/serdes_MultipleIsolatesOnIndividualThreads__nocrankshaft

The first time I ran make test x64.debug.check it ended up causing my 
laptop to swap itself to death. So for these tests I set ulimit -v $((2 * 
1024 * 1024)) e.g. 2GB.

Am I missing something or is there an issue with the tests?

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to