--- old/src/cpu/sparc/vm/macroAssembler_sparc.cpp 2016-10-19 15:29:35.412116607 +0300 +++ new/src/cpu/sparc/vm/macroAssembler_sparc.cpp 2016-10-19 15:29:35.304113781 +0300 @@ -4261,6 +4261,7 @@ assert(UseBlockZeroing && VM_Version::has_block_zeroing(), "only works with BIS zeroing"); Register end = count; int cache_line_size = VM_Version::prefetch_data_size(); + assert(cache_line_size > 0, "cache line size should be known for this code"); // Minimum count when BIS zeroing can be used since // it needs membar which is expensive. int block_zero_size = MAX2(cache_line_size*3, (int)BlockZeroingLowLimit);