[aarch64-port-dev ] Fix thinko in Atomic::xchg_ptr
Andrew Haley
aph at redhat.com
Tue Sep 9 17:52:11 UTC 2014
All client tests were failing because of a recent commit I made.
None of my tests detected this because I was always testing with Compressed
OOPs. Sorry.
Andrew.
changeset: 7544:7f4c970a6b0c
tag: tip
user: aph
date: Tue Sep 09 18:50:10 2014 +0100
summary: Fix thinko in Atomic::xchg_ptr.
diff -r c6375c27cbfa -r 7f4c970a6b0c src/os_cpu/linux_aarch64/vm/atomic_linux_aarch64.inline.hpp
--- a/src/os_cpu/linux_aarch64/vm/atomic_linux_aarch64.inline.hpp Fri Sep 05 07:18:32 2014 -0400
+++ b/src/os_cpu/linux_aarch64/vm/atomic_linux_aarch64.inline.hpp Tue Sep 09 18:50:10 2014 +0100
@@ -117,7 +117,7 @@
inline intptr_t Atomic::xchg_ptr(intptr_t exchange_value, volatile intptr_t* dest)
{
- jint res = __sync_lock_test_and_set (dest, exchange_value);
+ intptr_t res = __sync_lock_test_and_set (dest, exchange_value);
FULL_MEM_BARRIER;
return res;
}
More information about the aarch64-port-dev
mailing list