You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2019/06/05 00:08:00 UTC

[jira] [Created] (GEODE-6830) offheap FreeListManager has synchronization that hurts multi-threaded access

Darrel Schneider created GEODE-6830:
---------------------------------------

             Summary: offheap FreeListManager has synchronization that hurts multi-threaded access
                 Key: GEODE-6830
                 URL: https://issues.apache.org/jira/browse/GEODE-6830
             Project: Geode
          Issue Type: Improvement
          Components: offheap
            Reporter: Darrel Schneider


The FreeListManager has a bunch of free lists implemented by OffHeapStoredObjectAddressStack. Every time address is added or removed from this stack it does a synchronization. This shows up as a place that threads are blocked when 32 of them are doing pr puts.
It also shows that the AtomicReferenceArray is expensive and I believe that the current implementation could use a normal java array instead.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)