Re: Amazon Graviton and implications for concurrent Java apps
Florian Weimer via Concurrency-interest <[email protected]> Wed, 18 Mar 2020 13:18:48 +0100
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <[email protected]> |
* 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. _______________________________________________ Concurrency-interest mailing list [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest