3 ms·
I believe it's the `lock xadd` instruction. It's faster when combined with x86 Total Store Ordering mode that the Rosetta emulation runs under.
by wvenable 1y ago
I believe it's the `lock xadd` instruction. It's faster when combined with x86 Total Store Ordering mode that the Rosetta emulation runs under.
- saagarjha 1y agoLooking at objc_retain apparently it's a lock cmpxchg these days