Introduced new MemoryBuffer interface to adapt all access technologies like Unsafe, ByteBuffer, ByteArrayOutputStream, ...

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1402293 13f79535-47bb-0310-9956-ffa450edef68
Added unsafe backing implementation of MemoryBuffer

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1402295 13f79535-47bb-0310-9956-ffa450edef68
Fixed growing attribute in MergingNioMemoryBuffer

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1402296 13f79535-47bb-0310-9956-ffa450edef68
Added pointer support for the Unsafe allocator and the UnsafeMemoryManagerServiceImpl

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1402298 13f79535-47bb-0310-9956-ffa450edef68
Added @Parameters annotations to test all implementations of MemoryManagers

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1402299 13f79535-47bb-0310-9956-ffa450edef68
Fixed all unittest bugs appeared in the Unsafe implementation and some wrongly assumed behaviours in the MemoryBuffer nio and unsafe implementations

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1402302 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of http://git.apache.org/directmemory into eclipse
Little cleanup of the UnsafeMemoryManagerServiceImpl

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1403049 13f79535-47bb-0310-9956-ffa450edef68
Added Closeable as a new extending interface of CacheService because some of the underlying MemoryManager implementations could need some closing logic to clean up successfully

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1403050 13f79535-47bb-0310-9956-ffa450edef68
Added closing the CacheService / MemoryManager / Allocator to different unittests

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1403079 13f79535-47bb-0310-9956-ffa450edef68
Ignored benchmark unittest for Unsafe since the functionality is tested by another unittest

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1403085 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of http://git.apache.org/directmemory into eclipse
add javadoc on thread safe behaviour for Serializer

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1403744 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of http://git.apache.org/directmemory into eclipse
DIRECTMEMORY-105 Fixed Kryo Serializer adapter isn't threadsafe

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1404344 13f79535-47bb-0310-9956-ffa450edef68
Added read / write methods for boolean values in MemoryBuffer interfaces

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1404345 13f79535-47bb-0310-9956-ffa450edef68
DIRECTMEMORY-57 Pointer.free should be atomic / thread safe

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1404551 13f79535-47bb-0310-9956-ffa450edef68
DIRECTMEMORY-49 MemoryManagerService.update does not reuse the same pointer

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1404554 13f79535-47bb-0310-9956-ffa450edef68
Fixed positioning bug of the underlying MemoryBuffer when using reset on NioMemoryBuffers

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1404608 13f79535-47bb-0310-9956-ffa450edef68
Made Pointer::BufferNumber a final field of the PointerImpl implementation since there can't be a non MemoryBuffer pointer anymore. This has an advantage in the memory visibility of the field when cleaning short living pointers.

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1404610 13f79535-47bb-0310-9956-ffa450edef68