1.1 --- a/src/cpu/sparc/vm/macroAssembler_sparc.cpp Thu Sep 22 02:04:40 2016 -0700 1.2 +++ b/src/cpu/sparc/vm/macroAssembler_sparc.cpp Fri Oct 21 20:34:04 2016 +0300 1.3 @@ -4261,6 +4261,7 @@ 1.4 assert(UseBlockZeroing && VM_Version::has_block_zeroing(), "only works with BIS zeroing"); 1.5 Register end = count; 1.6 int cache_line_size = VM_Version::prefetch_data_size(); 1.7 + assert(cache_line_size > 0, "cache line size should be known for this code"); 1.8 // Minimum count when BIS zeroing can be used since 1.9 // it needs membar which is expensive. 1.10 int block_zero_size = MAX2(cache_line_size*3, (int)BlockZeroingLowLimit);