-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: OpenIDM 6.0.0, 6.5.0
-
Fix Version/s: OpenIDM 6.0.0, 6.5.0
-
Labels:
-
Target Version/s:
-
Story Points:1
-
Sprint:OpenIDM Sprint 6.5-1
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.
- is backported by
-
OPENIDM-10816 Backport OPENIDM-10815: Protect against JDK-8161372
-
- Closed
-