3d43823e17818b3c5f45831f830884917b181454 |
|
05-May-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Use OpenJdk implementation of java.nio.channels.{spi}.* - Unsafe : Add supporting methods (addressSize, pageSize, allocateMemory, freeMemory, setMemory and various getters equivalent to the existing libcore Memory classes). - NioUtils : Rewrite nioutils methods in terms of OpenJdk classes. - DeleteOnExitHook : Access java.lang.Shutdown directly. - FileDescriptor : Add getInt$, setInt$ and setSocket. - NativeBuffers : Copy byte-by-byte instead of using Unsafe.copyMemory. - FileInputStream : Add a custom implementation of available() instead of using IO_Available. General : Switch JNI code to explicit registration rather than implicit registration. General : Track renaming of Unsafe methods (to add the $ suffix). This might be unnecessary and will be reverted in a future change. Change-Id: I7e63340d266dbd4b1c425b13710c05dce1086d4b
|