src/hotspot/os_cpu/bsd_x86/bsd_x86_32.s
changeset 59252 623722a6aeb9
parent 51996 84743156e780
--- a/src/hotspot/os_cpu/bsd_x86/bsd_x86_32.s	Mon Nov 25 12:32:40 2019 +0100
+++ b/src/hotspot/os_cpu/bsd_x86/bsd_x86_32.s	Mon Nov 25 12:33:15 2019 +0100
@@ -633,9 +633,9 @@
         ret
 
 
-        # Support for int64_t Atomic::cmpxchg(int64_t exchange_value,
+        # Support for int64_t Atomic::cmpxchg(int64_t compare_value,
         #                                     volatile int64_t* dest,
-        #                                     int64_t compare_value)
+        #                                     int64_t exchange_value)
         #
         .p2align 4,,15
         ELF_TYPE(_Atomic_cmpxchg_long,@function)
@@ -665,4 +665,3 @@
         movl     8(%esp), %eax   # dest
         fistpll   (%eax)
         ret
-