Merge branch 'concurrency_classpath_extension' of github.com:jentfoo/avian into concurrency_classpath_extension

This commit is contained in:
Mike Jensen 2014-01-03 11:23:08 -07:00
commit d8b0db9354

View File

@ -729,6 +729,14 @@ Avian_avian_Atomic_getOffset
(t, jfieldVmField(t, reinterpret_cast<object>(arguments[0])));
}
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)