Instance Property

usesWeakReadAndWriteBarriers

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

Declaration

@property BOOL usesWeakReadAndWriteBarriers;

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

acquireFunction

The function used to acquire memory.

relinquishFunction

The function used to relinquish memory.

usesStrongWriteBarrier

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