Open Bug 1914147 Opened 6 months ago Updated 6 months ago

Improve the MutableHandle API

Categories

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

enhancement

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

MutableHandle was not originally given an assignment operator, instead forcing callers to call its set() method. This was probably done out of caution but I don't think it really makes sense. We can add this for greater convenience.

Conversely, it has an address() method which is dangerous if misused. It would be great if we could remove this or make it private, and rely on friending the few classes that really need it.

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