Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6404

review use of computeIfAbsent across code base

    XMLWordPrintableJSON

Details

    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 

      Attachments

        Issue Links

          Activity

            People

              jasonhuynh Jason Huynh
              jasonhuynh Jason Huynh
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h