-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: OpenIDM 5.5.0
-
Fix Version/s: OpenIDM 5.5.1.0
-
Target Version/s:
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 a backport of
-
OPENIDM-10815 Protect against JDK-8161372
-
- Closed
-