Title: [187139] trunk/Source/_javascript_Core
Revision
187139
Author
fpi...@apple.com
Date
2015-07-21 17:01:46 -0700 (Tue, 21 Jul 2015)

Log Message

Unreviewed, fix a lot of tests. Need to initialize WTF threading sooner.

* jsc.cpp:
(main):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (187138 => 187139)


--- trunk/Source/_javascript_Core/ChangeLog	2015-07-21 23:52:35 UTC (rev 187138)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-07-22 00:01:46 UTC (rev 187139)
@@ -1,5 +1,12 @@
 2015-07-21  Filip Pizlo  <fpi...@apple.com>
 
+        Unreviewed, fix a lot of tests. Need to initialize WTF threading sooner.
+
+        * jsc.cpp:
+        (main):
+
+2015-07-21  Filip Pizlo  <fpi...@apple.com>
+
         Fixed VM pool allocation should have a reserve for allocations that cannot fail
         https://bugs.webkit.org/show_bug.cgi?id=147154
         rdar://problem/21847618

Modified: trunk/Source/_javascript_Core/jsc.cpp (187138 => 187139)


--- trunk/Source/_javascript_Core/jsc.cpp	2015-07-21 23:52:35 UTC (rev 187138)
+++ trunk/Source/_javascript_Core/jsc.cpp	2015-07-22 00:01:46 UTC (rev 187139)
@@ -1248,6 +1248,11 @@
     ecore_init();
 #endif
 
+    // Need to initialize WTF threading before we start any threads. Cannot initialize JSC
+    // threading yet, since that would do somethings that we'd like to defer until after we
+    // have a chance to parse options.
+    WTF::initializeThreading();
+
     if (char* timeoutString = getenv("JSC_timeout")) {
         if (sscanf(timeoutString, "%lf", &s_desiredTimeout) != 1) {
             dataLog(
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to