src/hotspot/cpu/x86/stubGenerator_x86_32.cpp
changeset 59251 4cbfa5077d68
parent 58103 689a80d20550
child 59284 88502b1cf76f
--- a/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp	Mon Nov 25 12:32:07 2019 +0100
+++ b/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp	Mon Nov 25 12:32:40 2019 +0100
@@ -430,7 +430,8 @@
 
 
   //----------------------------------------------------------------------------------------------------
-  // Support for int32_t Atomic::xchg(int32_t exchange_value, volatile int32_t* dest)
+  // Implementation of int32_t atomic_xchg(int32_t exchange_value, volatile int32_t* dest)
+  // used by Atomic::xchg(volatile int32_t* dest, int32_t exchange_value)
   //
   // xchg exists as far back as 8086, lock needed for MP only
   // Stack layout immediately after call: