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/28 23:35:00 UTC

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

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

Jason Huynh resolved GEODE-6404.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

> 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
>            Assignee: Jason Huynh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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.
> See [https://bugs.openjdk.java.net/browse/JDK-8161372]  
> Related to GEODE-6403 



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