Bug 1557112 - Remove THREAD_TYPE_GCHELPER from the js::ThreadType enum. r=KrisWright
authorKaran Sapolia <sapoliakaran@gmail.com>
Fri, 14 Jun 2019 20:42:12 +0000
changeset 540466 405a1aaa16c5b874f6544930e25b2c0f6c4134b6
parent 540465 b788a1f2f095478c9bd82cc606e803b3bfbaf3e5
child 540467 7dd6e190f8af367c05c4048a2e53c90e55574ab5
push id11529
push userarchaeopteryx@coole-files.de
push dateThu, 04 Jul 2019 15:22:33 +0000
treeherdermozilla-beta@ebb510a784b8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersKrisWright
bugs1557112
milestone69.0a1
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
Bug 1557112 - Remove THREAD_TYPE_GCHELPER from the js::ThreadType enum. r=KrisWright Differential Revision: https://phabricator.services.mozilla.com/D34975
js/public/Utility.h
--- a/js/public/Utility.h
+++ b/js/public/Utility.h
@@ -63,22 +63,21 @@ namespace js {
  */
 enum ThreadType {
   THREAD_TYPE_NONE = 0,      // 0
   THREAD_TYPE_MAIN,          // 1
   THREAD_TYPE_WASM,          // 2
   THREAD_TYPE_ION,           // 3
   THREAD_TYPE_PARSE,         // 4
   THREAD_TYPE_COMPRESS,      // 5
-  THREAD_TYPE_GCHELPER,      // 6
-  THREAD_TYPE_GCPARALLEL,    // 7
-  THREAD_TYPE_PROMISE_TASK,  // 8
-  THREAD_TYPE_ION_FREE,      // 9
-  THREAD_TYPE_WASM_TIER2,    // 10
-  THREAD_TYPE_WORKER,        // 11
+  THREAD_TYPE_GCPARALLEL,    // 6
+  THREAD_TYPE_PROMISE_TASK,  // 7
+  THREAD_TYPE_ION_FREE,      // 8
+  THREAD_TYPE_WASM_TIER2,    // 9
+  THREAD_TYPE_WORKER,        // 10
   THREAD_TYPE_MAX            // Used to check shell function arguments
 };
 
 /*
  * Threads need a universal way to dispatch from xpcom thread pools,
  * so having objects inherit from this struct enables
  * mozilla::HelperThreadPool's runnable handler to call runTask() on each type.
  */