-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Description
the MVector violates gc safety when it contains non-bitstypes (it lacks a write barrier), resulting in the possibility that the gc will lose the object and delete the objects in the array while still in-use:
StaticArrays.jl/src/MVector.jl
Lines 49 to 50 in 1e18069
else # TODO check that this isn't crazy. Also, check it doesn't cause problems with GC... | |
unsafe_store!(Base.unsafe_convert(Ptr{Ptr{Void}}, Base.data_pointer_from_objref(v.data)), Base.data_pointer_from_objref(val), i) |
Metadata
Metadata
Assignees
Labels
No labels