You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2019/02/13 22:43:00 UTC

[jira] [Created] (GEODE-6404) review use of computeIfAbsent across code base

Jason Huynh created GEODE-6404:
----------------------------------

             Summary: review use of computeIfAbsent across code base
                 Key: GEODE-6404
                 URL: https://issues.apache.org/jira/browse/GEODE-6404
             Project: Geode
          Issue Type: Bug
          Components: general
            Reporter: Jason Huynh


It looks like computeIfAbsent on a ConcurrentHashMap is a blocking method.  This may run against what the developer was expecting when using the method.  This ticket to for someone to go through code base and modify (if necessary) with a get/null check before computing or some other pattern.



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