CooperativeThreadPool, Scheduler and LabeledEventQueue are unused
Categories
(Core :: XPCOM, enhancement)
Tracking
()
People
(Reporter: marco, Assigned: froydnj)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
|
87.66 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Nathan Froyd [:froydnj] from comment #7)
Created attachment 9037678 [details] [diff] [review]
remove Scheduler and related code from xpcom/threadsThis compiles on my machine, at least. We'll see if it gets through try.
Hope springs eternal, apparently:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=be8813dd8951de83331e39dad5c84f22aa659eb9
Apparently this broke a lot of devtools tests. I thought the obvious changes would work, but apparently not.
jlast, do you know (or can you find someone) who can point me in the right direction? e.g. the changes in devtools/server/startup/content-process.jsm:
https://hg.mozilla.org/try/rev/be8813dd8951de83331e39dad5c84f22aa659eb9#l1.1
are AFAICT just reversing the changes from:
and similar changes elsewhere in devtools, but we wind up with strange errors in devtools tests as you can see in the above try link.
Updated•7 years ago
|
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Wouldn't you be missing one occurence in frame.js?
devtools/server/tests/mochitest/test_connectToFrame.html fails with the following exception:
[task 2019-01-19T03:23:29.510Z] 03:23:29 INFO - GECKO(5034) | DBG-SERVER: Packet 4 sent from "server1.conn0.child1/frameTarget1"
[task 2019-01-19T03:23:29.511Z] 03:23:29 INFO - GECKO(5034) | Handler function threw an exception: TypeError: Cu.unblockThreadedExecution is not a function
[task 2019-01-19T03:23:29.512Z] 03:23:29 INFO - GECKO(5034) | Stack: onDisconnect<@resource://devtools/server/startup/frame.js:107:7
I can look more at that tomorrow if that's not just that. I wouldn't be surprised if that highlights existing races in DevTools tests...
| Assignee | ||
Comment 10•7 years ago
|
||
(In reply to Alexandre Poirot [:ochameau] from comment #9)
Wouldn't you be missing one occurence in frame.js?
devtools/server/tests/mochitest/test_connectToFrame.html fails with the following exception:
[task 2019-01-19T03:23:29.510Z] 03:23:29 INFO - GECKO(5034) | DBG-SERVER: Packet 4 sent from "server1.conn0.child1/frameTarget1"
[task 2019-01-19T03:23:29.511Z] 03:23:29 INFO - GECKO(5034) | Handler function threw an exception: TypeError: Cu.unblockThreadedExecution is not a function
[task 2019-01-19T03:23:29.512Z] 03:23:29 INFO - GECKO(5034) | Stack: onDisconnect<@resource://devtools/server/startup/frame.js:107:7I can look more at that tomorrow if that's not just that. I wouldn't be surprised if that highlights existing races in DevTools tests...
Gah, thank you. I feel kind of dumb now. Thank you for looking!
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
| bugherder | ||
Comment 15•7 years ago
|
||
The LabeledEventQueues, which were composed of multiple queues, may have helped in getting an earlier TTFI,
see my comment 13 here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1522827
Description
•