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

review use of putIfAbsent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • general
    • None

    Description

      Usages of putIfAbsent in Geode on ConcurrentHashMap may not have realized the actual synchronized/atomic nature of the putIfAbsent.  See https://bugs.openjdk.java.net/browse/JDK-6737839

      This ticket is for someone to review or possibly change the putIfAbsent usages to be more performant. 

      Not sure if putIfAbsent is called enough and under contention enough for this to matter...

      Attachments

        Issue Links

          Activity

            People

              burcham Bill Burcham
              jasonhuynh Jason Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: