hotspot/src/share/vm/runtime/atomic.hpp
changeset 9990 c8683968c01b
parent 7397 5b173b4ca846
child 14626 0cf4eccf130f
equal deleted inserted replaced
9988:01f84e2c3fc0 9990:c8683968c01b
    49   // Atomically add to a location, return updated value
    49   // Atomically add to a location, return updated value
    50   static jint     add    (jint     add_value, volatile jint*     dest);
    50   static jint     add    (jint     add_value, volatile jint*     dest);
    51   static intptr_t add_ptr(intptr_t add_value, volatile intptr_t* dest);
    51   static intptr_t add_ptr(intptr_t add_value, volatile intptr_t* dest);
    52   static void*    add_ptr(intptr_t add_value, volatile void*     dest);
    52   static void*    add_ptr(intptr_t add_value, volatile void*     dest);
    53 
    53 
       
    54   static jlong    add    (jlong    add_value, volatile jlong*    dest);
       
    55 
    54   // Atomically increment location
    56   // Atomically increment location
    55   static void inc    (volatile jint*     dest);
    57   static void inc    (volatile jint*     dest);
    56   static void inc_ptr(volatile intptr_t* dest);
    58   static void inc_ptr(volatile intptr_t* dest);
    57   static void inc_ptr(volatile void*     dest);
    59   static void inc_ptr(volatile void*     dest);
    58 
    60