--- old/src/hotspot/os_cpu/bsd_x86/bytes_bsd_x86.inline.hpp 2020-05-01 02:25:42.215778211 -0700 +++ new/src/hotspot/os_cpu/bsd_x86/bytes_bsd_x86.inline.hpp 2020-05-01 02:25:41.895772055 -0700 @@ -85,18 +85,7 @@ #ifdef AMD64 inline u8 Bytes::swap_u8(u8 x) { -#ifdef SPARC_WORKS - // workaround for SunStudio12 CR6615391 - __asm__ __volatile__ ( - "bswapq %0" - :"=r" (x) // output : register 0 => x - :"0" (x) // input : x => register 0 - :"0" // clobbered register - ); - return x; -#else return bswap_64(x); -#endif } #else // Helper function for swap_u8