[ https://issues.apache.org/jira/browse/GEODE-9081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310979#comment-17310979 ]
ASF subversion and git services commented on GEODE-9081: -------------------------------------------------------- Commit 020eb879a6852e985d3ce65c6008a8b5bc935189 in geode's branch refs/heads/feature/GEODE-9081-BufferPool-allocations from Jacob Barrett [ https://gitbox.apache.org/repos/asf?p=geode.git;h=020eb87 ] 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)