For example, hotspot uses at&t and intel style to describe the fence()
function.
Since both at&t and intel style assembly have the same underlying machine code, why does hotspot use different styles in the same source code?
HotSpot for Windows is compiled with Microsoft Visual C++ (MSVC).
HotSpot for Linux is compiled with GCC.
MSVC and GCC indeed have different syntax for inline assembly.