Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
results
Allocator.java
ByteBufferObject.java
DirectByteBufferObject.java
HeapAllocatedObject.java
ObjectType.java
OffHeapObject.java
TestMemoryAllocator.java
bench.sh
readme.txt

readme.txt

Link to Blog - http://ashkrit.blogspot.sg/2013/07/which-memory-is-faster-heap-or.html


How to run
java -Xms4g -Xmx4g TestMemoryAllocator HEAP 50000000
java -Xms4g -Xmx4g TestMemoryAllocator BB 50000000

java -Xms4g -Xmx4g TestMemoryAllocator DBB 50000000

java -Xms4g -Xmx4g TestMemoryAllocator OFFHEAP 50000000