src/hotspot/cpu/x86/stubGenerator_x86_64.cpp
changeset 59249 29b0d0b61615
parent 58977 c6a789f495fe
child 59251 4cbfa5077d68
--- a/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp	Mon Nov 25 12:30:24 2019 +0100
+++ b/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp	Mon Nov 25 12:31:39 2019 +0100
@@ -668,7 +668,8 @@
     return start;
   }
 
-  // Support for jint atomic::add(jint add_value, volatile jint* dest)
+  // Implementation of jint atomic_add(jint add_value, volatile jint* dest)
+  // used by Atomic::add(volatile jint* dest, jint add_value)
   //
   // Arguments :
   //    c_rarg0: add_value
@@ -690,7 +691,8 @@
     return start;
   }
 
-  // Support for intptr_t atomic::add_ptr(intptr_t add_value, volatile intptr_t* dest)
+  // Implementation of intptr_t atomic_add(intptr_t add_value, volatile intptr_t* dest)
+  // used by Atomic::add(volatile intptr_t* dest, intptr_t add_value)
   //
   // Arguments :
   //    c_rarg0: add_value