Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-10816

Backport OPENIDM-10815: Protect against JDK-8161372

    Details

      Description

      JDK 8 has a bug where concurrent visits to Map#computeIfAbsent could eventually deadlock if the keys are in the map. See https://bugs.openjdk.java.net/browse/JDK-8161372 for a more complete explanation.

      An easy solution to guard against this issue is to do a get before the computeIdAbsent so that computeIfAbsent will only happen if the key is not in the map.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                patrickdiligent patrick diligent
                Reporter:
                mark.offutt Mark Offutt [X] (Inactive)
                QA Assignee:
                Jakub Janoska [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: