[patch] ARM Shark compilation and logic fix after last months Shark refactoring. - Test

Xerxes Rånby xerxes at zafena.se
Fri Aug 21 05:49:31 PDT 2009

Xerxes Rånby skrev:
> Shark have evolved rapidly during the past months and went through
> several refactoring and cleaning up phases.
> Shark contains a workaround for the lack of atomic operations in LLVM
> for ARM, the workaround have unfortunately broke during the refactoring
> runs.
> This patch fixes the workaround and makes it functional again for ARM.
> Ok to commit to Icedtea6 trunk ?
> Ok to commit to Icedtea6 1.6 release branch?
> The changelog would be:
> 2009-08-21  Xerxes Rånby  <xerxes at zafena.se>
>         *ports/hotspot/src/share/vm/shark/sharkBuilder.cpp
>         (zero_cmpxchg_int): Updated method to match current Shark
>         and LLVM atomic calling convention.
>         Fixes compilation error and logic for ARM.
>         (zero_cmpxchg_ptr): Likewise.
> Cheers
> Xerxes
If you are curious and want to test the above fix on a non ARM system
then apply the attached patch in this mail, it makes any Shark system
use the atomic of zero instead of llvm, this makes it possible to test
the atomic workaround on X86 and PPC systems. The reason why this works
are because the workaround itself are platform independent.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: allways_use_zeros_atomics_for_shark_for_testing.patch
Type: text/x-patch
Size: 1315 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090821/20f6e840/allways_use_zeros_atomics_for_shark_for_testing.patch 

More information about the distro-pkg-dev mailing list