Skip to content

danielmitterdorfer/false-sharing

Repository files navigation

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.

About

Demo project to demonstrate the effects of false-sharing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published