Title: [230897] trunk/Source/bmalloc
Revision
230897
Author
utatane....@gmail.com
Date
2018-04-21 14:58:51 -0700 (Sat, 21 Apr 2018)

Log Message

Unreviewed, follow-up patch after r230474
https://bugs.webkit.org/show_bug.cgi?id=166684

Add "_javascript_Core" to Darwin name. And use short name "BMScavenger"
for Linux since adding "_javascript_Core" makes the name too long for Linux.

* bmalloc/Scavenger.cpp:
(bmalloc::Scavenger::threadRunLoop):

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (230896 => 230897)


--- trunk/Source/bmalloc/ChangeLog	2018-04-21 21:52:51 UTC (rev 230896)
+++ trunk/Source/bmalloc/ChangeLog	2018-04-21 21:58:51 UTC (rev 230897)
@@ -1,3 +1,14 @@
+2018-04-21  Yusuke Suzuki  <utatane....@gmail.com>
+
+        Unreviewed, follow-up patch after r230474
+        https://bugs.webkit.org/show_bug.cgi?id=166684
+
+        Add "_javascript_Core" to Darwin name. And use short name "BMScavenger"
+        for Linux since adding "_javascript_Core" makes the name too long for Linux.
+
+        * bmalloc/Scavenger.cpp:
+        (bmalloc::Scavenger::threadRunLoop):
+
 2018-04-18  Jer Noble  <jer.no...@apple.com>
 
         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds

Modified: trunk/Source/bmalloc/bmalloc/Scavenger.cpp (230896 => 230897)


--- trunk/Source/bmalloc/bmalloc/Scavenger.cpp	2018-04-21 21:52:51 UTC (rev 230896)
+++ trunk/Source/bmalloc/bmalloc/Scavenger.cpp	2018-04-21 21:58:51 UTC (rev 230897)
@@ -354,7 +354,11 @@
 void Scavenger::threadRunLoop()
 {
     setSelfQOSClass();
-    setThreadName("bmalloc scavenger");
+#if BOS(DARWIN)
+    setThreadName("_javascript_Core bmalloc scavenger");
+#else
+    setThreadName("BMScavenger");
+#endif
     
     // This loop ratchets downward from most active to least active state. While
     // we ratchet downward, any other thread may reset our state.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to