Hacker News new | ask | show | jobs
by wvenable 286 days 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.
1 comments

Looking at objc_retain apparently it's a lock cmpxchg these days