Closed Bug 1032319 Opened 12 years ago Closed 5 years ago

Make ScriptSource into a GC thing kind

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
flash10

People

(Reporter: terrence, Unassigned)

References

(Blocks 1 open bug)

Details

Right now it is a monstrously over-complicated beast: a ref-counted C++ struct pointing to a JSObject, storing some C++ pointers in PrivateValue. This is silly, we should just make it a GC thing (e.g. js::ScriptShared or somesuch) and have direct GC managed pointers to it from Script and wrappers for cross-compartment usage.

(This has since turned into ScriptSourceObject + ScriptSource)

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.