Backed out changeset 3e9182f7e25d (bug 979913)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 14 Mar 2014 09:39:35 +0100
changeset 191867 e786714165b252ec3e7c7feef755704b39c7fd1b
parent 191866 c09c3c1936e3295cdc3921f20c883fbe1ad3f486
child 191868 aa60e2265dde77daea91c5a592d0c3926b372261
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs979913
milestone30.0a1
backs out3e9182f7e25d1a006e9113410e70295f63895960
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 3e9182f7e25d (bug 979913)
mozglue/build/Nuwa.cpp
--- a/mozglue/build/Nuwa.cpp
+++ b/mozglue/build/Nuwa.cpp
@@ -137,22 +137,17 @@ typedef std::vector<std::pair<pthread_ke
 TLSInfoList;
 
 /**
  * The stack size is chosen carefully so the frozen threads doesn't consume too
  * much memory in the Nuwa process. The threads shouldn't run deep recursive
  * methods or do large allocations on the stack to avoid stack overflow.
  */
 #ifndef NUWA_STACK_SIZE
-#if !defined(PAGE_SIZE)
-#warning "PAGE_SIZE not defined, using 4096 bytes"
-#define PAGE_SIZE 4096ul
-#elif PAGE_SIZE != 4096ul
-#warning "System page size not 4096 bytes"
-#endif
+#define PAGE_SIZE 4096
 #define PAGE_ALIGN_MASK 0xfffff000
 #define NUWA_STACK_SIZE (1024 * 128)
 #endif
 
 #define NATIVE_THREAD_NAME_LENGTH 16
 
 struct thread_info : public mozilla::LinkedListElement<thread_info> {
   pthread_t origThreadID;