comparison src/share/vm/runtime/atomic.hpp @ 3780:4bf3cbef0b3e

Merge
author jcoomes
date Wed, 06 Jul 2011 08:43:01 -0700
parents 2a241e764894
children cd3d6a6b95d9
comparison
equal deleted inserted replaced
3760:e2af886d540b 3780:4bf3cbef0b3e
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