--- a/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp Wed May 08 08:15:04 2019 +0100
+++ b/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp Wed May 08 11:59:14 2019 +0200
@@ -2183,7 +2183,7 @@
// r9 is used to save r15_thread
// 'from', 'to' and 'qword_count' are now valid
- DecoratorSet decorators = IN_HEAP | IS_ARRAY | ARRAYCOPY_DISJOINT;
+ DecoratorSet decorators = IN_HEAP | IS_ARRAY;
if (dest_uninitialized) {
decorators |= IS_DEST_UNINITIALIZED;
}
@@ -2377,7 +2377,7 @@
Address from_element_addr(end_from, count, TIMES_OOP, 0);
Address to_element_addr(end_to, count, TIMES_OOP, 0);
- DecoratorSet decorators = IN_HEAP | IS_ARRAY | ARRAYCOPY_CHECKCAST;
+ DecoratorSet decorators = IN_HEAP | IS_ARRAY | ARRAYCOPY_CHECKCAST | ARRAYCOPY_DISJOINT;
if (dest_uninitialized) {
decorators |= IS_DEST_UNINITIALIZED;
}