< prev index next >

src/hotspot/share/gc/shared/taskqueue.hpp

Print this page
rev 53303 : 8248214: Add paddings for TaskQueueSuper to reduce false-sharing cache contention
Summary: Add paddings for TaskQueueSuper to reduce false-sharing cache contention
Reviewed-by: robm

*** 147,156 **** --- 147,158 ---- size_t _data; fields _fields; }; }; + // Add paddings to reduce false-sharing cache contention between _bottom and _age + DEFINE_PAD_MINUS_SIZE(0, DEFAULT_CACHE_LINE_SIZE, sizeof(_bottom)); volatile Age _age; // These both operate mod N. static uint increment_index(uint ind) { return (ind + 1) & MOD_N_MASK;
< prev index next >