Open
Bug 1845074
Opened 1 year ago
Updated 1 year ago
Consider making JSContext inherit from JSRuntime again
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Blocks 1 open bug)
Details
Now that we only have main thread contexts, we can rethink how JSContext
and JSRuntime
are related.
Years ago in bug 1281529 I made JSContext
inherit from JSRuntime
. This was nice because it gets rid of a dereference to access data in the runtime. The runtime could still be used for things that are accessed on helper threads too but main-thread only data would be stored in the context. Unfortunately this change was reverted as part of the cooperative scheduling work that has since been removed, but we're now in a position to redo this.
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P3
Updated•1 year ago
|
Blocks: sm-runtime
You need to log in
before you can comment on or make changes to this bug.
Description
•