libunsafe-fences-java

wrapper library around the Java 8 fences API

Description

unsafe-fences is a very simple Java library that just provides a shim around the Java 8 Unsafe methods used for memory fencing.

In Java 8, three memory-ordering intrinsics were added to the sun.misc.Unsafe class: fullFence, storeFence, and loadFence.

The main goal of unsafe-fences is to allow code in Java 6 and 7 to compile those calls with a provided boolean guard.

This is especially useful for projects like JRuby that support several JDK versions but it can be reused by other Java projects as well.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/headius/unsafe-fences


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libunsafe-fences-java