src/share/vm/runtime/atomic.hpp

changeset 2964
2a241e764894
parent 2314
f95d63e2154a
child 4318
cd3d6a6b95d9
     1.1 --- a/src/share/vm/runtime/atomic.hpp	Wed Jun 08 21:48:38 2011 -0400
     1.2 +++ b/src/share/vm/runtime/atomic.hpp	Fri Jun 10 15:08:36 2011 -0700
     1.3 @@ -51,6 +51,8 @@
     1.4    static intptr_t add_ptr(intptr_t add_value, volatile intptr_t* dest);
     1.5    static void*    add_ptr(intptr_t add_value, volatile void*     dest);
     1.6  
     1.7 +  static jlong    add    (jlong    add_value, volatile jlong*    dest);
     1.8 +
     1.9    // Atomically increment location
    1.10    static void inc    (volatile jint*     dest);
    1.11    static void inc_ptr(volatile intptr_t* dest);

mercurial