Branch: refs/heads/master
Home: http://github.com/penberg/jato
Commit: 2f2f6a46e915ccfab83ab87178e92aa168bcfadd
http://github.com/penberg/jato/commit/2f2f6a46e915ccfab83ab87178e92aa168bcfadd
Author: Pekka Enberg <[email protected]>
Date: 2009-08-15 (Sat, 15 Aug 2009)
Changed paths:
M Makefile
A arch/x86/include/arch/atomic.h
M include/vm/unsafe.h
M regression/run-suite.sh
A regression/sun/misc/UnsafeTest.java
M vm/jato.c
M vm/unsafe.c
Log Message:
-----------
x86: Implement Unsafe.compareAndSwapInt()
This patch implements UnsafeTest.compareAndSwapInt() using the cmpxchgl
instruction.
Signed-off-by: Pekka Enberg <[email protected]>
Commit: ff67c0604f354a13c69a3c75e52238773b51d88c
http://github.com/penberg/jato/commit/ff67c0604f354a13c69a3c75e52238773b51d88c
Author: Pekka Enberg <[email protected]>
Date: 2009-08-15 (Sat, 15 Aug 2009)
Changed paths:
M arch/x86/include/arch/atomic.h
M include/vm/unsafe.h
M regression/sun/misc/UnsafeTest.java
M vm/jato.c
M vm/unsafe.c
Log Message:
-----------
x86: Implement Unsafe.compareAndSwapObject()
While at it, fix return value of native_unsafe_compare_and_swap_int() to
"jint"; otherwise GCC can use "sete %al" for the return value which does
not zero the upper bits of %eax.
Note: the 64-bit version is untested.
Signed-off-by: Pekka Enberg <[email protected]>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel