How and Why Unsafe is Used in Java—reference
•
Java
By
sun. misc. Unsafe has been in Java from at least as far back as Java 1.4 (2004). In Java 9,Unsafe will be hidden along with many other,for-internal-use classes. to improve the maintainability of the JVM. While it is still unclear exactly what will replace Unsafe,and I SUSPECT it will be more than one thing which replaces it,it raises the question,why is it used at all?
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码