On 06/17/2013 03:23 PM, Paul Sandoz wrote: > Looks OK to me (with my lack of reviewing mojo).
Good, thanks. > More out of curiosity: how does this impact the memory-per-Thread > with @Contended on fields rather than on the class? No difference at all. Class-level @Contended will have the padding before and after the instance fields block, and @Contended("tlr") over the fields will have the padding before and after those three fields block. So, all-and-all, it is the same cost to pay. -Aleksey.