Where is sun.misc.Unsafe documented?

James Raitsev picture James Raitsev · May 29, 2013 · Viewed 34.4k times · Source

Does anyone know of any comprehensive documentation for sun.misc.Unsafe?

I'm looking for documentation on Unsafe.putOrderedInt(). This was all I was able to find.

public native  void putOrderedInt(Object o,
    long offset,
    int x)

     Ordered/Lazy version of #putIntVolatile(Object, long, int) 

Does anyone know of a better source?

Answer

mwerschy picture mwerschy · May 29, 2013

There is a nice post about it on mishadoff's blog here.

The class is officially undocumented though.