src/hotspot/cpu/x86/stubGenerator_x86_32.cpp
changeset 50179 d9bc8557ae16
parent 49754 ee93c1087584
child 50728 9375184cec98
child 56578 e8414c8ead61
--- a/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp	Fri May 18 15:21:23 2018 +0200
+++ b/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp	Fri May 18 15:21:23 2018 +0200
@@ -837,7 +837,7 @@
       __ jcc(Assembler::zero, L_0_count);
     }
 
-    DecoratorSet decorators = ARRAYCOPY_DISJOINT;
+    DecoratorSet decorators = IN_HEAP | IN_HEAP_ARRAY | ARRAYCOPY_DISJOINT;
     if (dest_uninitialized) {
       decorators |= AS_DEST_NOT_INITIALIZED;
     }
@@ -1026,7 +1026,7 @@
       __ jcc(Assembler::zero, L_0_count);
     }
 
-    DecoratorSet decorators = 0;
+    DecoratorSet decorators = IN_HEAP | IN_HEAP_ARRAY;
     if (dest_uninitialized) {
       decorators |= AS_DEST_NOT_INITIALIZED;
     }
@@ -1383,7 +1383,7 @@
     Address   to_element_addr(end_to,   count, Address::times_ptr, 0);
     Address elem_klass_addr(elem, oopDesc::klass_offset_in_bytes());
 
-    DecoratorSet decorators = ARRAYCOPY_CHECKCAST;
+    DecoratorSet decorators = IN_HEAP | IN_HEAP_ARRAY | ARRAYCOPY_CHECKCAST;
     if (dest_uninitialized) {
       decorators |= AS_DEST_NOT_INITIALIZED;
     }