Wed, 25 Jul 2018 11:50:58 +0800
#7283 disable InlineArrayCopy for mips
Effect:
oop map not found error disappeared for regression-Loop and jvm98.
src/cpu/mips/vm/c1_LIRAssembler_mips.cpp | file | annotate | diff | comparison | revisions | |
src/share/vm/c1/c1_GraphBuilder.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/cpu/mips/vm/c1_LIRAssembler_mips.cpp Tue Jul 24 18:04:40 2018 +0800 1.2 +++ b/src/cpu/mips/vm/c1_LIRAssembler_mips.cpp Wed Jul 25 11:50:58 2018 +0800 1.3 @@ -5352,7 +5352,7 @@ 1.4 // be thrown in this code, they must be thrown in the System.arraycopy 1.5 // activation frame; we could save some checks if this would not be the case 1.6 void LIR_Assembler::emit_arraycopy(LIR_OpArrayCopy* op) { 1.7 - 1.8 + Unimplemented(); 1.9 1.10 ciArrayKlass* default_type = op->expected_type(); 1.11 Register src = op->src()->as_register();
2.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp Tue Jul 24 18:04:40 2018 +0800 2.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Wed Jul 25 11:50:58 2018 +0800 2.3 @@ -3457,7 +3457,12 @@ 2.4 bool cantrap = true; 2.5 switch (id) { 2.6 case vmIntrinsics::_arraycopy: 2.7 +#ifndef MIPS 2.8 if (!InlineArrayCopy) return false; 2.9 +#else 2.10 + // Return false for mips since LIR_Assembler::emit_arraycopy isn't implemented yet. 2.11 + return false; 2.12 +#endif 2.13 break; 2.14 2.15 #ifdef TRACE_HAVE_INTRINSICS