Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> java >> libunsafe-fences-java
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: unsafe-fences  ]

套件: libunsafe-fences-java (1.0-1)

wrapper library around the Java 8 fences API

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.

下載 libunsafe-fences-java

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4.8 kB25 kB [文件列表]