Try to remove CodeGenerator::zoneStubsToReadBarrier_
Categories
(Core :: JavaScript Engine: JIT, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
(Whiteboard: [sp3])
Attachments
(3 files)
zoneStubsToReadBarrier_
is used to perform read-barriers after off-thread compilation for the per-zone regexp/string stubs used by the compilation. It's hard to reason about how this interacts with major GCs happening on the main thread if these GCs don't cancel off-thread compilations.
It would be simpler to get these stubs at the start of the compilation so we can store strong references to them in the Warp snapshot.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Rename StubIndex
to StubKind
and make it an enum class.
Add a using
declaration for the EnumeratedArray
. This will be used more in a
later patch.
Updated•2 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
Assignee | ||
Comment 3•2 months ago
|
||
zoneStubsToReadBarrier_
was used to delay read-barriers for the JitZone
stubs
for off-thread Ion compilations. This only works well if we cancel Ion compilations
on GC.
This patch changes this to instead record used stubs in the Warp snapshot that we trace
for off-thread compilations.
We also no longer generate the string-concat stub eagerly but only if the CacheIR has
a string-concat op.
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Comment 5•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/58902759f620
https://hg.mozilla.org/mozilla-central/rev/4810dda31f44
https://hg.mozilla.org/mozilla-central/rev/af214c46fc64
Updated•2 months ago
|
Updated•2 months ago
|
Description
•