geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1886) StoredObject instanceof checks in EntryEventImpl slow down heap operations
Date Fri, 16 Sep 2016 18:26:21 GMT

    [ https://issues.apache.org/jira/browse/GEODE-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15497014#comment-15497014
] 

ASF subversion and git services commented on GEODE-1886:
--------------------------------------------------------

Commit b7518411d93ded8a8c83af6964ff74acb04a31ac in incubator-geode's branch refs/heads/develop
from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=b751841 ]

GEODE-1886: optimize off-heap reference checks

EntryEventImpl now tests the region's off-heap boolean
before it will ask if the new/old value is an instanceof
StoredObject.


> StoredObject instanceof checks in EntryEventImpl slow down heap operations
> --------------------------------------------------------------------------
>
>                 Key: GEODE-1886
>                 URL: https://issues.apache.org/jira/browse/GEODE-1886
>             Project: Geode
>          Issue Type: Bug
>          Components: offheap
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>
> The instanceof checks added to EntryEventImpl for offheap have slowed down the performance
of heap. This slow down will probably only be noticed when the cache operation is local. When
the operations is distributed the network adds enough overhead that the extra time in the
instanceof checks is not noticed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message