Open
Bug 1623261
Opened 5 years ago
Updated 2 years ago
Use the type system more to improve thread safety in WarpBuilder
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Blocks 1 open bug)
Details
We should make it hard to access data off-thread that we can't use without racing. One idea is to copy the the immutable fields in JSScript to WarpScriptSnapshot. However that makes it difficult to use the BytecodeLocation interface...
Comment 1•5 years ago
|
||
After some discussion, a one thought is adding main-thread-only asserts to many of the fields we are worried about is a good start. It would also be nice to have some sort of pointer type to indicate this gc-pointer is only valid if compacting does not happen.
Updated•5 years ago
|
Priority: -- → P2
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•