Skip to content

constellation: Only set up a single Devtools route for all ScriptThreads#41161

Merged
atbrakhi merged 1 commit intoservo:mainfrom
mrobinson:one-route-per-scriptthread
Dec 9, 2025
Merged

constellation: Only set up a single Devtools route for all ScriptThreads#41161
atbrakhi merged 1 commit intoservo:mainfrom
mrobinson:one-route-per-scriptthread

Conversation

@mrobinson
Copy link
Copy Markdown
Member

Previously every ScriptThread had its own DevTools route, but we can
share the same route amongst all of them. This should theoretically save
file handles. The fact that this creating IPC routes is hidden a bit by
the use of GenericCallback, but underneath it does actually create a
route.

Testing: This should not show any behavior differences and we do not test
for the number of file handles used.

…ead`s

Previously every `ScriptThread` had its own `DevTools` route, but we can
share the same route amongst all of them. This should theoretically save
file handles. The fact that this creating IPC routes is hidden a bit by
the use of `GenericCallback`, but underneath it does actually create a
route.

Signed-off-by: Martin Robinson <[email protected]>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 9, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Dec 9, 2025
@atbrakhi atbrakhi added this pull request to the merge queue Dec 9, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 9, 2025
Merged via the queue into servo:main with commit 2f4c98b Dec 9, 2025
32 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants