You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2019/04/29 15:37:00 UTC

[jira] [Commented] (GEODE-6698) Reduce transient String creation in Get70.cmdExecute

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

Darrel Schneider commented on GEODE-6698:
-----------------------------------------

I think this is one case of the more general: https://issues.apache.org/jira/browse/GEODE-6690

> Reduce transient String creation in Get70.cmdExecute
> ----------------------------------------------------
>
>                 Key: GEODE-6698
>                 URL: https://issues.apache.org/jira/browse/GEODE-6698
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Jacob S. Barrett
>            Priority: Major
>
> Get70.cmdExecute around Lin 93 calls Part.getString() to get the region name. Since the region names are a relatively finite set of values we could save lots of allocations by interning these byte[] to String mappings and return a perviously allocated String for the region name.
> This method is called for every client/server get operation. All the other region operations also make similar conversion to get region name. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)