Take a look at the Unsafe class. It allows for direct memory management.
Link: Java Magic. Part 4: sun.misc.Unsafe - mishadoff thoughts
But as the name suggests its, well, unsafe...


Thats just...