[
https://issues.apache.org/jira/browse/GEODE-9081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310000#comment-17310000
]
ASF subversion and git services commented on GEODE-9081:
--------------------------------------------------------
Commit 5e933bb38c9b3dbcb7e82f46d1726442531ed564 in geode's branch
refs/heads/feature/GEODE-9081-BufferPool-allocations from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=5e933bb ]
GEODE-9081: Remove transient allocation.
* New geode-unsafe access to non-SDK API for DirectBuffer.
* Use geode-unsafe to access DirectBuffer.attachment().
* Removes latency of reflection.
* Removes transient Object[] allocation in Method.invoke().
> 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
>
> {{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)