< prev index next >
src/hotspot/share/c1/c1_LIRGenerator.cpp
Print this page
@@ -789,14 +789,14 @@
if (!src->is_loaded_flattened_array() && !dst->is_loaded_flattened_array()) {
flags &= ~LIR_OpArrayCopy::always_slow_path;
}
if (!src->maybe_flattened_array()) {
- flags &= ~LIR_OpArrayCopy::src_flat_check;
+ flags &= ~LIR_OpArrayCopy::src_valuetype_check;
}
- if (!dst->maybe_flattened_array()) {
- flags &= ~LIR_OpArrayCopy::dst_flat_check;
+ if (!dst->maybe_flattened_array() && !dst->maybe_null_free_array()) {
+ flags &= ~LIR_OpArrayCopy::dst_valuetype_check;
}
if (!src_objarray)
flags &= ~LIR_OpArrayCopy::src_objarray;
if (!dst_objarray)
< prev index next >