摘要:
一、直接缓存 这个例子的区别就是 ByteBuffer.allocateDirect(512); 进入allocateDirect方法 进入DirectByteBuffer构造函数 Native方法:unsafe.allocateMemory public native long allocateM 阅读全文
posted @ 2019-08-12 22:39 work hard work smart 阅读(496) 评论(0) 推荐(0)
|
|||
摘要:
一、直接缓存 这个例子的区别就是 ByteBuffer.allocateDirect(512); 进入allocateDirect方法 进入DirectByteBuffer构造函数 Native方法:unsafe.allocateMemory public native long allocateM 阅读全文
posted @ 2019-08-12 22:39 work hard work smart 阅读(496) 评论(0) 推荐(0) |
|||