Bela Ban created JGRP-2491:
------------------------------
Summary: Reduce use of synchronized
Key: JGRP-2491
URL:
https://issues.redhat.com/browse/JGRP-2491
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 5.0.0.Final
The synchronized keyword fares badly with virtual threads (project Loom). Contrary to
{{java.util.concurrent.lock.Lock}}, {{synchronized}} can still block. This might change in
the future, but for now, we should replace all uses of {{synchronized}} with
{{Lock.lock()/unlock().}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)