Closed Bug 1694545 Opened 4 years ago Closed 4 years ago

Allow WeakMaps with unmarkable value types

Categories

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

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sfink, Assigned: sfink)

References

Details

Attachments

(1 obsolete file)

Jon needed a WeakMap to a non-GCpointer type.

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Depends on: 1694538

I needed a WeakMap whose value type was a struct containing GC pointers (or a UniquePtr to one). So this doesn't work for that, although it may be useful for other things.

Attachment #9205010 - Attachment is obsolete: true

I'm just going to drop this bug for now. I might look into making traceable non-GC things work as weakmap values after I finish cleanup on the gcWeakKeys rearchitecture.

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

Attachment

General

Created:
Updated:
Size: