[
https://issues.apache.org/jira/browse/GEODE-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Huynh updated GEODE-6404:
-------------------------------
Description:
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
was:
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]
> 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
> Priority: Major
>
> 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)