Browsing All posts tagged under »jvm«

Tricks with Direct Memory Access in Java

February 2, 2012


Java was initially designed as a safe, managed environment. Nevertheless, Java HotSpot VM contains a “backdoor” that provides a number of low-level operations to manipulate memory and threads directly. This backdoor – sun.misc.Unsafe – is widely used by JDK itself in the packages like java.nio or java.util.concurrent. It is hard to imagine a Java developer who uses this backdoor in […]


Get every new post delivered to your Inbox.

Join 1,694 other followers