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

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

Jacob S. Barrett created GEODE-6698:
---------------------------------------

             Summary: 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


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)