Permalink
Browse files

Merge branch 'concurrency_classpath_extension' of github.com:jentfoo/…

…avian into concurrency_classpath_extension
  • Loading branch information...
2 parents 735921c + 6ebc89d commit d8b0db93540bb57ab6d6c9acb1b5f1e15c725c22 Mike Jensen committed Jan 3, 2014
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/classpath-avian.cpp
View
8 src/classpath-avian.cpp
@@ -730,6 +730,14 @@ Avian_avian_Atomic_getOffset
}
extern "C" AVIAN_EXPORT int64_t JNICALL
+Avian_sun_misc_Unsafe_objectFieldOffset
+(Thread* t, object, uintptr_t* arguments)
+{
+ return fieldOffset
+ (t, jfieldVmField(t, reinterpret_cast<object>(arguments[1])));
+}
+
+extern "C" AVIAN_EXPORT int64_t JNICALL
Avian_avian_Atomic_compareAndSwapObject
(Thread* t, object, uintptr_t* arguments)
{

0 comments on commit d8b0db9

Please sign in to comment.