Closed Bug 504606 Opened 17 years ago Closed 17 years ago

Allow List<> to live inside RCObject

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lhansen, Assigned: lhansen)

Details

Attachments

(1 file)

(From Chris Brichford, somewhat simplified.) Adds an allocation strategy to List<> s.t. if the allocation strategy is ListAllocPolicy_InsideRCObject (this is new) then the List<> derives not from GCObject but from {}. In either case, mandate that List<> clean up after itself, as required for any subobject of RCObject. The default allocation strategy is ListAllocPolicy_GC, so no existing code should need to change.
Attachment #388941 - Flags: review?(edwsmith)
Attachment #388941 - Flags: review?(edwsmith) → review+
redux changeset: 2193:ca58eb6b8a52
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: