Searched refs:byte_offset (Results 1 - 6 of 6) sorted by relevance

/openjdk7/hotspot/test/compiler/8004867/
H A DTestIntUnsafeCAS.java767 private final static long byte_offset(int i) { method in class:TestIntUnsafeCAS
773 unsafe.compareAndSwapInt(a, byte_offset(i), -1, -123);
778 unsafe.compareAndSwapInt(a, byte_offset(i), old, b);
783 unsafe.compareAndSwapInt(a, byte_offset(i), -123, b[i]);
788 unsafe.compareAndSwapInt(a, byte_offset(i), 123, -123);
789 unsafe.compareAndSwapInt(b, byte_offset(i), 123, -103);
794 unsafe.compareAndSwapInt(a, byte_offset(i), -123, c);
795 unsafe.compareAndSwapInt(b, byte_offset(i), -103, d);
800 unsafe.compareAndSwapInt(a, byte_offset(i), old, -123);
805 unsafe.compareAndSwapInt(a, byte_offset(
[all...]
H A DTestIntUnsafeOrdered.java767 private final static long byte_offset(int i) { method in class:TestIntUnsafeOrdered
773 unsafe.putOrderedInt(a, byte_offset(i), -123);
778 unsafe.putOrderedInt(a, byte_offset(i), b);
783 unsafe.putOrderedInt(a, byte_offset(i), b[i]);
788 unsafe.putOrderedInt(a, byte_offset(i), -123);
789 unsafe.putOrderedInt(b, byte_offset(i), -103);
794 unsafe.putOrderedInt(a, byte_offset(i), c);
795 unsafe.putOrderedInt(b, byte_offset(i), d);
800 unsafe.putOrderedInt(a, byte_offset(i), -123);
805 unsafe.putOrderedInt(a, byte_offset(
[all...]
H A DTestIntUnsafeVolatile.java767 private final static long byte_offset(int i) { method in class:TestIntUnsafeVolatile
773 unsafe.putIntVolatile(a, byte_offset(i), -123);
778 unsafe.putIntVolatile(a, byte_offset(i), b);
783 unsafe.putIntVolatile(a, byte_offset(i), b[i]);
788 unsafe.putIntVolatile(a, byte_offset(i), -123);
789 unsafe.putIntVolatile(b, byte_offset(i), -103);
794 unsafe.putIntVolatile(a, byte_offset(i), c);
795 unsafe.putIntVolatile(b, byte_offset(i), d);
800 unsafe.putIntVolatile(a, byte_offset(i), -123);
805 unsafe.putIntVolatile(a, byte_offset(
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Dunsafe.cpp104 inline jlong field_offset_from_byte_offset(jlong byte_offset) { argument
105 return byte_offset;
117 jlong byte_offset = field_offset_to_byte_offset(field_offset); local
122 assert(byte_offset >= 0 && byte_offset <= (jlong)MAX_OBJECT_SIZE, "sane offset");
123 if (byte_offset == (jint)byte_offset) {
124 void* ptr_plus_disp = (address)p + byte_offset;
125 assert((void*)p->obj_field_addr<oop>((jint)byte_offset) == ptr_plus_disp,
129 assert(byte_offset < p_siz
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dframe.cpp1091 int byte_offset = in_bytes(nm->native_basic_lock_sp_offset()); local
1092 assert(byte_offset >= 0, "should not see invalid offset");
1093 return (BasicLock*) &sp()[byte_offset / wordSize];
1100 int byte_offset = in_bytes(nm->native_receiver_sp_offset()); local
1101 assert(byte_offset >= 0, "should not see invalid offset");
1102 oop owner = ((oop*) sp())[byte_offset / wordSize];
/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.hpp788 int byte_offset = x - base; local
789 int offset = -byte_offset / relocInfo::addr_unit();
801 int byte_offset = -( offset * relocInfo::addr_unit() ); local
802 return base + byte_offset;

Completed in 78 milliseconds