Commit 4cedd762 authored by dslomov@chromium.org's avatar dslomov@chromium.org

Fix ExtensionsRegistration cctest on ARM.

Reduced the number of created threads on ARM.

Review URL: http://codereview.chromium.org/8639007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10045 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 23e948b8
......@@ -674,7 +674,11 @@ class IsolateGenesisThread : public JoinableThread {
// Test installing extensions in separate isolates concurrently.
// http://code.google.com/p/v8/issues/detail?id=1821
TEST(ExtensionsRegistration) {
#ifdef V8_TARGET_ARCH_ARM
const int kNThreads = 10;
#else
const int kNThreads = 40;
#endif
v8::RegisterExtension(new v8::Extension("test0",
kSimpleExtensionSource));
v8::RegisterExtension(new v8::Extension("test1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment