How to Install and Uninstall libunsafe-fences-java Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "libunsafe-fences-java" package

This guide let you learn how to install libunsafe-fences-java on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libunsafe-fences-java

2. Uninstall "libunsafe-fences-java" package

This guide let you learn how to uninstall libunsafe-fences-java on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libunsafe-fences-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libunsafe-fences-java package on Ubuntu 21.10 (Impish Indri)

Package: libunsafe-fences-java
Architecture: all
Version: 1.0-1.1
Priority: optional
Section: universe/java
Source: unsafe-fences
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25
Filename: pool/universe/u/unsafe-fences/libunsafe-fences-java_1.0-1.1_all.deb
Size: 5076
MD5sum: 316b1bedcba3fdc03f655245a1b3dfe0
SHA1: 4d41a424b7f804767eaabafc7750bf7c76a5f01e
SHA256: b052cf57868bc26a7555c1934ee6170b412e15cd21bd2503190e0ca3907357c7
SHA512: 12b8f01a3bd599963959fe9929f8f1c1398be13acf12ad4d96a19372b98a939d4bf6e9cef53b4d993889ca6675b88ceed8fc3e5693bfa8ba4b6dd8018425c2ff
Homepage: https://github.com/headius/unsafe-fences
Description-en: 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.
Description-md5: 3e083c35292e0d5cff750122e0fbd1f0