3 ms·
What this presentation doesn't mention is that HotSpot supports automatic conversion of synchronised blocks to TSX transactions already. So if you run the lates
by sievebrain 11y ago
What this presentation doesn't mention is that HotSpot supports automatic conversion of synchronised blocks to TSX transactions already. So if you run the latest HotSpots on the latest Intel chips (note: TSX was disabled for some Haswells) then you are already benefiting from this!
What people found, if I recall correctly, was that a lot of popular software doesn't benefit much because it wasn't written to reduce data contention, and servers especially often contend on statistics and metrics counters. But the slides show ways to avoid that. Also, the most popular software was often already well optimised to reduce lock contention.