Browsing All Posts filed under »HotSpot JVM«

Tricks with Direct Memory Access in Java

February 2, 2012

9

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 […]

Follow

Get every new post delivered to your Inbox.

Join 1,626 other followers