The misty “Unsafe” in Java

Fig 1 Code for Getting Unsafe object

The Unsafe class is the basis for implementing CAS in Java. In this article, we will understand more about Unsafe and its capabilities.

The name of the class Unsafe comes from the fact that it deals with. The sun.misc.Unsafe is really meant to be a low-level VM library interface designed to be used strictly within the JDK. It is…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
KRISHNA KISHORE V

KRISHNA KISHORE V

595 Followers

Full Stack Developer, Software Consultant, Technical Content Writer, Free Lancer