top

那一種java的記憶體在使用上會比較快呢?

最近在研究java的memory mapped file的技術的時候,看到了一篇網路上的文章是有關於java幾種不同記憶體技術(Heap, OffHead, ByteBuffer與DirectByteBuffer)在讀寫的throughput上的比較。
有與趣看英文的測試原文者請參考以下Blog ”Which memory is faster Heap or ByteBuffer or Direct? (http://www.javacodegeeks.com/2013/08/which-memory-is-faster-heap-or-bytebuffer-or-direct.html)。

基於興趣, 於是也重新作了一些驗證與測試,詳細的結果請看以下Blog連結:
http://erhwenkuo.blogspot.tw/2014/07/java.html