Timeline for supporting synchronized with virtual threads, was Re: JEP proposed to target JDK 19: 425: Virtual Threads (Preview)
Mark Rotteveel
mark at lawinegevaar.nl
Mon Jun 6 06:35:02 UTC 2022
On 05-06-2022 21:44, Alan Bateman wrote:
>> The reason I'm asking is that I maintain a JDBC driver that currently
>> relies heavily on synchronized combined with blocking I/O, and
>> rewriting it to use ReentrantLock or something, requires some
>> investment of time. If support for synchronized will be available
>> "soon" (say, ~1 year), that is an investment that doesn't really pay
>> off (for me), if it won't materialize for years (or ever), rewriting
>> *is* a worthwhile investment.
>
> It's a significant project and there isn't a time frame or status right
> now.
Thanks! I guess that means I'll have to put the switch to locks on my
roadmap.
Mark
--
Mark Rotteveel
More information about the jdk-dev
mailing list