[concurrency-interest] Amazon Graviton and implications for concurrent Java apps

Florian Weimer fw at deneb.enyo.de
Wed Mar 18 08:18:48 EDT 2020

* Andrew Haley via Concurrency-interest:

> I don't think so, because we've been running a bunch of stuff on
> AArch64 without many problems. If I had to guess the reasons for that,
> they'd be
> 1. Lock-free programming is something of an extreme sport among Java
> programmers: normal people use synchronized regions and j.u.c
> structures.
> 2. Many of the reorderings that processors with relaxed memory
> ordering do are also allowed to be done by compilers, and Java's C2
> compiler is quite happy to do them. So even though x86 has a total
> store order model, the compiler will still mess things up for people
> who write racy programs.

Porting enterprise Java software to run on POWER probably has ironed
out quite a few bugs as well.

More information about the Concurrency-interest mailing list