mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
Merge
This commit is contained in:
commit
4200d0d095
358 changed files with 58894 additions and 1801 deletions
|
@ -157,6 +157,9 @@ jint Unsafe_invocation_key_to_method_slot(jint key) {
|
|||
|
||||
#define GET_FIELD_VOLATILE(obj, offset, type_name, v) \
|
||||
oop p = JNIHandles::resolve(obj); \
|
||||
if (support_IRIW_for_not_multiple_copy_atomic_cpu) { \
|
||||
OrderAccess::fence(); \
|
||||
} \
|
||||
volatile type_name v = OrderAccess::load_acquire((volatile type_name*)index_oop_from_field_offset_long(p, offset));
|
||||
|
||||
#define SET_FIELD_VOLATILE(obj, offset, type_name, x) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue