Jacob Barrett created GEODE-9081:
------------------------------------

             Summary: Remove transient allocation when returning ByteBuffer to 
BufferPool.
                 Key: GEODE-9081
                 URL: https://issues.apache.org/jira/browse/GEODE-9081
             Project: Geode
          Issue Type: Improvement
          Components: core
            Reporter: Jacob Barrett


{{BufferPool}} uses reflection to invoke a method when returning a 
{{ByteBuffer}}, which results in a transient {{Object[]}} variable argument 
allocation.

The method being invoked is actually accessible through non-SDK APIs that are 
relatively stable. Add access to this method through {{geode-unsafe}} and avoid 
this allocation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to