# HG changeset patch # User YANG Yongqiang # Date 1289987168 -28800 # Node ID 1f91cc15cd21db4e3605a90bdbcc1411a0d22769 # Parent 87db8957684e834945266640b9b212d7bbcfdee2 A wrong instruction(slt) was used. diff -r 87db8957684e -r 1f91cc15cd21 hotspot/src/cpu/mips/vm/c1_Runtime1_mips.cpp --- a/hotspot/src/cpu/mips/vm/c1_Runtime1_mips.cpp Fri Nov 12 15:27:30 2010 +0800 +++ b/hotspot/src/cpu/mips/vm/c1_Runtime1_mips.cpp Wed Nov 17 17:46:08 2010 +0800 @@ -916,7 +916,7 @@ } else { __ set_info("new_object_array", dont_gc_arguments); } - + if (UseTLAB && FastTLABRefill) { Register arr_size = T0; Register t1 = T1; @@ -926,7 +926,7 @@ // check that array length is small enough for fast path __ move(AT, C1_MacroAssembler::max_array_allocation_length); - __ slt(AT, AT, length); + __ sltu(AT, AT, length); __ bne(AT, ZERO, slow_path); __ delayed()->nop();