You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:03 UTC
[jira] [Closed] (GEODE-9081) Remove transient allocation when returning ByteBuffer to BufferPool.
[ https://issues.apache.org/jira/browse/GEODE-9081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols closed GEODE-9081.
-------------------------------
> 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
> Assignee: Jacob Barrett
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> {{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.20.7#820007)