src/cpu/sparc/vm/vm_version_sparc.cpp

Print this page

        

*** 354,363 **** --- 354,369 ---- } else if (UseCRC32Intrinsics) { warning("SPARC CRC32 intrinsics require VIS3 insructions support. Intriniscs will be disabled"); FLAG_SET_DEFAULT(UseCRC32Intrinsics, false); } + if (UseOnSpinWaitIntrinsic) { + if (!FLAG_IS_DEFAULT(UseOnSpinWaitIntrinsic)) + warning("onSpinWait intrinsic is not available on this CPU"); + FLAG_SET_DEFAULT(UseOnSpinWaitIntrinsic, false); + } + if (FLAG_IS_DEFAULT(ContendedPaddingWidth) && (cache_line_size > ContendedPaddingWidth)) ContendedPaddingWidth = cache_line_size; // This machine does not allow unaligned memory accesses