RFR (M) #5 CR 8003985: Support @Contended annotation

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Jan 11 00:05:04 PST 2013


On 01/11/2013 04:29 AM, Vitaly Davidovich wrote:
> Just a side comment - why not query the OS to get the cache line size
> right from the get go instead of postponing it to a future change? Linux
> and windows have APIs to get it fairly easily, and I'm guessing Solaris
> and others do as well

The issue is not about querying cache line size (that one is easy), but
the interactions with hardware prefetchers which need to be researched on.

-Aleksey.



More information about the hotspot-dev mailing list