Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 747 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 747 Bytes

False Sharing

This is a small demo project for the accompanying blog post False Sharing. It contains a microbenchmark to demonstrate the effects of false sharing and its mitigation with @Contended.

Getting Started

Prerequisites

The project requires at least JDK 8 and Gradle 2.0.

Installation and Usage

git clone https://github.com/danielmitterdorfer/false-sharing.git
cd false-sharing
gradle shadow
java -jar build/libs/false-sharing-0.1.0-all.jar -rf csv -rff false-sharing.csv

License

'False Sharing' is distributed under the terms of the Apache Software Foundation license, version 2.0.