Re: synchronized and Loom

2022-06-06 Thread Jaikiran Pai
Hello Stefan, My personal opinion is that we continue with our release plans (whenever we do it) instead of waiting for completing these changes. The virtual threads feature is a preview feature in JDK 19, so I think as long as our tests pass and Ant is usable in Java 19 with --enable-preview,

synchronized and Loom

2022-06-06 Thread Stefan Bodewig
Hi right now the Loom prototype doesn't play well with synchronized and the recommended approach is to use ReentrantLock instead. A quick grep over Ant's codebase turns up more than 500 hits for synchronized - many of which in method declarations. So updating it will be a bigger task, in particula