RFR: Fix atomic_copy64 on PPC32 - was: Re: Debugging segmentation faults in the JVM on linux-powerpc

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Aug 2 05:53:39 UTC 2017


On 06/12/2017 03:23 PM, Andrew Haley wrote:> Ignore the SafeFetch problem; it's something else> > Let's concentrate on one thing at at a time.
Andrew has found the problem and provided a patch to fix the issue. The problem
for the crash is atomic_copy64 which is broken on PPC32. The inline-assembly
is incorrect and does not actually transfer any data.

The attached patch fixes the problem.

Could some please review and apply it?


 .''`.  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-inline-assembly-in-atomic_copy64-on-PPC32.patch
Type: text/x-patch
Size: 1062 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20170802/452cf6ab/0001-Fix-inline-assembly-in-atomic_copy64-on-PPC32.patch>

More information about the hotspot-dev mailing list