[go: up one dir, main page]

Page MenuHomePhabricator

Bug 2068761 - Start creating private Kinds for specialized microtasks r?arai
ClosedPublic

Authored by mgaudet on Sep 16 2026, 7:22 PM.
Referenced Files
Unknown Object (File)
Thu, Oct 15, 8:26 AM
Unknown Object (File)
Thu, Oct 15, 8:26 AM
Unknown Object (File)
Tue, Oct 13, 2:22 PM
Unknown Object (File)
Sun, Oct 11, 12:11 PM
Unknown Object (File)
Sat, Oct 10, 7:08 PM
Unknown Object (File)
Wed, Oct 7, 6:40 AM
Unknown Object (File)
Wed, Oct 7, 5:18 AM
Unknown Object (File)
Wed, Oct 7, 4:28 AM
Subscribers
None

Details

Summary

Since embedders only care about isJS() vs isEmbedder() we begin to
be able to carve out space for engine specialization.

The current patch allocates a range of 16 as I believe that will be sufficient
for the final state.

This commit also forces EnqueueJob callers to declare the kind of job, which
is preparation for alternative task shapes

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
arai added inline comments.
js/src/builtin/Promise.cpp
1674

What's the reason why this is a template parameter, instead of a regular value parameter?
Does instantiation per each kind help performance or something?

This revision is now accepted and ready to land.Fri, Sep 18, 10:01 AM
mgaudet edited the summary of this revision. (Show Details)