Open Bug 1724213 Opened 2 years ago Updated 2 years ago

Investigating replacing pinned atoms with permanent atoms


(Core :: JavaScript Engine, task, P2)





(Reporter: jonco, Assigned: jonco)


(Blocks 1 open bug)


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.

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