Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unsafe class in Android?

Do the Android Dalvik standard libraries have any class similar to the undocumented class sun.misc.Unsafe in Java SE which allows direct access to memory.

like image 679
S E Avatar asked Mar 18 '11 20:03

S E


1 Answers

Android implements parts of sun.misc.Unsafe, primarily to support the JSR-166 concurrency classes. It's not part of the Android API.

like image 125
fadden Avatar answered Sep 29 '22 12:09

fadden