[ 
https://issues.apache.org/jira/browse/DIRECTMEMORY-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219177#comment-13219177
 ] 

Simone Tripodi commented on DIRECTMEMORY-70:
--------------------------------------------

Salut!

let's take in consideration that shielding from “data races" is different to 
keeping the data structure thread safe - anyway if you are confident that the 
used locking level is robust enough to keep the data structure thread-safe, I 
trust you.
Anyway if you'll need to traverse the structure, take in consideration the 
SkipList.

merci a toi,
-Simo
                
> Move Pointer.class and Pointer."statistics" into an intermediate class 
> CacheEntry
> ---------------------------------------------------------------------------------
>
>                 Key: DIRECTMEMORY-70
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-70
>             Project: Apache DirectMemory
>          Issue Type: Improvement
>            Reporter: Benoit Perroud
>         Attachments: 
> DIRECTMEMORY-70-MemoryManagerService-to-hide-implementation.patch, 
> DIRECTMEMORY-70-byte-bufer-allocator.patch, 
> DIRECTMEMORY-70-byte-bufer-allocator.patch, 
> DIRECTMEMORY-72-byteBufferAllocator-v2.patch
>
>
> In order to achieve better separation of responsabilities, attributes like 
> Pointer.class, Pointer.hits, Pointer.lastHit, etc. should be moved into an 
> intermediate class, for instance CacheEntry.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to