Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: test/cctest/test-lockers.cc

Issue 18014003: Add X32 port into V8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-lockers.cc
===================================================================
--- test/cctest/test-lockers.cc (revision 15486)
+++ test/cctest/test-lockers.cc (working copy)
@@ -246,6 +246,8 @@
TEST(MultithreadedParallelIsolates) {
#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
const int kNThreads = 10;
+#elif V8_TARGET_ARCH_X32
+ const int kNThreads = 4;
danno 2013/07/17 13:33:21 Why is this special handling of x32 needed? I woul
haitao.feng 2013/07/18 10:04:09 This is related to the code range feature. We used
#else
const int kNThreads = 50;
#endif
@@ -701,6 +703,8 @@
TEST(ExtensionsRegistration) {
#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
const int kNThreads = 10;
+#elif V8_TARGET_ARCH_X32
danno 2013/07/17 13:33:21 Why is this special handling of x32 needed? I woul
+ const int kNThreads = 4;
#else
const int kNThreads = 40;
#endif

Powered by Google App Engine
This is Rietveld 408576698