146 points · by pabs3 · 5y ago · 50 comments
The bottleneck however paid off imo - Red Hat insisted on doing things slow and steady, so once things started landing in the distro, they just worked. Unlike other distros which touted aarch64 support early, but struggled to fix issues along the way.
I remember working with OpenJDK and Opendaylight on aarch64. The crashes I've seen were terrifying. The JVM crashed so hard, our expert Java developer laughed 30 minutes straight looking at one trace. To this day I have no idea what was so funny, as he couldn't explain it in a simple manner and I lost interest.
Anyway, thank you Red Hat developers for all the work (minus the systemd "architects", but that's a different story).
Not quite.
There are many commercial JDK/JVM offerings that are closed source and survive very well with their "secret sauce" (usually GC related), such as Azul's Zing JVM.
Red Hat's customer base that used JavaEE containers (and just Java code in general) was large enough that Red Hat could have easily decided to implement and maintain their own JDK offering - but they didn't.
Probably based on Red Hat's history of being a good open source "netizen", they chose to use the GPL code even though they did not have to.
We're all better off because of Red Hat's contributions to OpenJDK (porting to 64 bit ARM included) - but that's not exactly "Copyleft works!".
Copyleft can't prevent other people from making a clone of your software, but it does redefine the choices to "clone software entirely" or "fork existing software and share changes", it removes the option of "fork existing software and DON'T share changes", i.e. benefiting from the open source nature of the project without giving those same benefits to others.
Countless manufacturers have made closed products and sold them for license money. Nothing new there.
JMM offers pretty strong guarantees via the fundamental happens-before relationships in program behaviour. It's relatively easy to implement on x86's strong TSO, but ARM is extremely problematic to offer the same guarantees on.
Can't wait to run some concurrency benchmarks on this platform.
Granted, android has its own bytecode and runtime. Does it attempt to conform to the memory model? I imagine there is little reason not to.
I guess the next target is to do RISC-V. I think it only works with the interpreter at the moment.