geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick Cavender (Jira)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-6698) Reduce transient String creation in Get70.cmdExecute
Date Thu, 26 Sep 2019 18:06:05 GMT

     [ https://issues.apache.org/jira/browse/GEODE-6698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dick Cavender closed GEODE-6698.
--------------------------------

> 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 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
(v8.3.4#803005)

Mime
View raw message