Synchronized methods and virtual threads
Alex Otenko
oleksandr.otenko at gmail.com
Tue Jun 4 09:24:08 UTC 2024
Uh....just a general comment on the topic why synchronized was "better". It
looked like folks focused on performance and potential optimizations
specifically that the VM can or cannot do.
On Tue, 4 Jun 2024, 10:21 Andrew Haley, <aph-open at littlepinkcloud.com>
wrote:
> On 6/4/24 09:56, Alex Otenko wrote:
> > I think it is not about performance, but language support of correctness.
> >
> > So to speak, the language provides statements to build programs that are
> obviously sequentially consistent. (With the caveat that deadlocks probably
> are evidence of the execution that is not sequentially consistent)
>
> What are you replying to?
>
> --
> Andrew Haley (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240604/a69bb26f/attachment-0001.htm>
More information about the loom-dev
mailing list