Instance Property

usesWeakReadAndWriteBarriers

Specifies whether, in a garbage collected environment, pointers should use weak read and write barriers.

Declaration

var usesWeakReadAndWriteBarriers: Bool { get set }

Discussion

If you use garbage collection, read and write barrier functions must be used when pointers are from memory scanned by the collector.

See Also

Memory Configuration

var usesStrongWriteBarrier: Bool

Specifies whether, in a garbage collected environment, pointers should be assigned using a strong write barrier.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software