< prev index next >
src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp
Print this page
rev 54706 : 8223244: Fix usage of ARRAYCOPY_DISJOINT decorator
@@ -1786,11 +1786,13 @@
__ stop("super_check_offset inconsistent");
__ bind(L);
}
#endif //ASSERT
- DecoratorSet decorators = IN_HEAP | IS_ARRAY | ARRAYCOPY_CHECKCAST;
+ // Note: checkcast arraycopy is always disjoint. If it were not, then we wouldn't
+ // need to checkcast.
+ DecoratorSet decorators = IN_HEAP | IS_ARRAY | ARRAYCOPY_CHECKCAST | ARRAYCOPY_DISJOINT;
bool is_oop = true;
if (dest_uninitialized) {
decorators |= IS_DEST_UNINITIALIZED;
}
< prev index next >