8272791: java -XX:BlockZeroingLowLimit=1 crashes after 8270947
Reviewed-by: shade, kvn
This commit is contained in:
parent
f7a37f5886
commit
e17118aa8a
@ -105,7 +105,7 @@ define_pd_global(intx, InlineSmallCode, 1000);
|
||||
"Use DC ZVA for block zeroing") \
|
||||
product(intx, BlockZeroingLowLimit, 256, \
|
||||
"Minimum size in bytes when block zeroing will be used") \
|
||||
range(1, max_jint) \
|
||||
range(wordSize, max_jint) \
|
||||
product(bool, TraceTraps, false, "Trace all traps the signal handler")\
|
||||
product(int, SoftwarePrefetchHintDistance, -1, \
|
||||
"Use prfm hint with specified distance in compiled code." \
|
||||
|
@ -4867,7 +4867,7 @@ address MacroAssembler::zero_words(Register ptr, Register cnt)
|
||||
// r10, r11, rscratch1, and rscratch2 are clobbered.
|
||||
address MacroAssembler::zero_words(Register base, uint64_t cnt)
|
||||
{
|
||||
guarantee(zero_words_block_size < BlockZeroingLowLimit,
|
||||
assert(wordSize <= BlockZeroingLowLimit,
|
||||
"increase BlockZeroingLowLimit");
|
||||
address result = nullptr;
|
||||
if (cnt <= (uint64_t)BlockZeroingLowLimit / BytesPerWord) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user