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/05/03 21:57:00 UTC
[jira] [Resolved] (GEODE-6698) Reduce transient String creation in
Get70.cmdExecute
[ https://issues.apache.org/jira/browse/GEODE-6698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider resolved GEODE-6698.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.10.0
> 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
> Assignee: Darrel Schneider
> Priority: Major
> Fix For: 1.10.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)