A fix for False Sharing described in issue 2584

Fixing issue 2584.
This change does not fully conform the the checkstyle policy set on this project as it creates several abstract classes to be chained to get the desired memory layout. I feel having each class in it's own file would harm readability rather than improve it.