< prev index next >

src/hotspot/cpu/arm/stubGenerator_arm.cpp

Print this page

        

@@ -435,11 +435,11 @@
   // Note: JDK 9 only supports ARMv7+ so we always have ldrexd available even though the
   // code below allows for it to be otherwise. The else clause indicates an ARMv5 system
   // for which we do not support MP and so membars are not necessary. This ARMv5 code will
   // be removed in the future.
 
-  // Support for jint Atomic::add(jint add_value, volatile jint *dest)
+  // Support for jint Atomic::add(volatile jint *dest, jint add_value)
   //
   // Arguments :
   //
   //      add_value:      R0
   //      dest:           R1

@@ -485,11 +485,11 @@
     __ bx(LR);
 
     return start;
   }
 
-  // Support for jint Atomic::xchg(jint exchange_value, volatile jint *dest)
+  // Support for jint Atomic::xchg(volatile jint *dest, jint exchange_value)
   //
   // Arguments :
   //
   //      exchange_value: R0
   //      dest:           R1

@@ -533,11 +533,11 @@
     __ bx(LR);
 
     return start;
   }
 
-  // Support for jint Atomic::cmpxchg(jint exchange_value, volatile jint *dest, jint compare_value)
+  // Support for jint Atomic::cmpxchg(volatile jint *dest, jint compare_value, jint exchange_value)
   //
   // Arguments :
   //
   //      compare_value:  R0
   //      exchange_value: R1
< prev index next >