RFR: 8185723: Zero: segfaults on Power PC 32-bit
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Thu Aug 3 09:32:26 UTC 2017
On 08/03/2017 11:25 AM, Severin Gehwolf wrote:
> FWIW, with this patch OpenJDK 9 Zero bootcyle-images builds for me on
> PPC32 in the release variant.
Awesome :).
> That used to segv prior this patch. Slowdebug builds were OK pre-patch.
> Issue was only observable with fastdebug/release builds.
Yep, that was my initial observation as well.
> If it matters, we also know that passing -fno-tree-dce to the hotspot
> build "fixed" the issue pre-patch.
Interesting.
> +1 from me.
Thanks.
Btw, I'm currently trying to wrap my head around how to implement atomic_copy64()
on m68k with inline assembly using cas2 which allows compare-and-swap with two
32-bit values and hence the implementation of an atomic_copy64().
I think either __arch_compare_and_exchange_val_64_acq() or atomic_exchange_acq()
from [1] should help.
Adrian
> [1] https://github.com/kaffe/kaffe/blob/master/config/m68k/atomic.h#L69
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the hotspot-dev
mailing list