Open Bug 1621372 Opened 5 years ago Updated 7 months ago

Make HeapPtr<T> work for non-GC heap T

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: sfink, Unassigned)

References

(Blocks 1 open bug)

Details

We could clean up some custom GC managing code by making HeapPtr<T> and maybe GCPtr<T> extensible to C++ objects similar to Rooted<T>. It would handle barriers and MemoryUse, at a minimum.

Potential users are BaseScript's PrivateScriptData, ICStubs, JitScript's BaselineScript and IonScript, PreliminaryObjectArrayWithTemplate, and ObjectGroup's addendum_ and propertySet fields.

Priority: -- → P3
Severity: normal → S3
Blocks: GC.easeofuse
Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.