sun.misc.Unsafe
suggest changeRemarks
The Unsafe class allows a program to do things that are not allowed by the Java compiler. Normal programs should avoid using Unsafe.
WARNINGS
- If you make a mistake using the
UnsafeAPIs, your applications are liable to cause the JVM to crash and/or exhibit symptoms that are hard to diagnose. - The
UnsafeAPI is subject to change without notice. If you use it in your code, you may need to rewrite the code when changing Java versions.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents