Open Bug 1724213 Opened 3 years ago Updated 3 years ago

Investigating replacing pinned atoms with permanent atoms

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Pinned atoms are annoying for the GC because we have to mark them when we collect the atoms zone, which involves scanning the atoms table. They may be created during normal execution.

Permanent atoms are only created during initialization and their memory is set aside and never swept, which means that we don't need to mark them.

Ideally the embedding would use permanent atoms that were created up front.

Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.