RFR (S): JEP-142: Reduce Cache Contention on Specified Fields (original) (raw)

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Nov 23 11:50:41 PST 2012


On 11/23/2012 11:05 PM, Vitaly Davidovich wrote:

Have you considered allowing user to specify the padding amount in the @Contended constructor? The default can be picked by the VM but may be useful to allow overriding it so that someone can get the desired padding on some new architecture without upgrading the JVM.

Even with this prototype code, the padding is controlled with -XX:FieldPaddingWidth=#, we can set the default value for that flag via CPUID (the updated patch still pending).

Also, how common is the adjacent line prefetcher today?

Very common on server hardware.

-Aleksey.



More information about the hotspot-dev mailing list