src/hotspot/cpu/sparc/stubGenerator_sparc.cpp
changeset 50179 d9bc8557ae16
parent 49754 ee93c1087584
child 50728 9375184cec98
child 56578 e8414c8ead61
--- a/src/hotspot/cpu/sparc/stubGenerator_sparc.cpp	Fri May 18 15:21:23 2018 +0200
+++ b/src/hotspot/cpu/sparc/stubGenerator_sparc.cpp	Fri May 18 15:21:23 2018 +0200
@@ -2269,7 +2269,7 @@
       BLOCK_COMMENT("Entry:");
     }
 
-    DecoratorSet decorators = ARRAYCOPY_DISJOINT;
+    DecoratorSet decorators = IN_HEAP | IN_HEAP_ARRAY | ARRAYCOPY_DISJOINT;
     if (dest_uninitialized) {
       decorators |= AS_DEST_NOT_INITIALIZED;
     }
@@ -2326,7 +2326,7 @@
 
     array_overlap_test(nooverlap_target, LogBytesPerHeapOop);
 
-    DecoratorSet decorators = 0;
+    DecoratorSet decorators = IN_HEAP | IN_HEAP_ARRAY;
     if (dest_uninitialized) {
       decorators |= AS_DEST_NOT_INITIALIZED;
     }
@@ -2446,7 +2446,7 @@
       BLOCK_COMMENT("Entry:");
     }
 
-    DecoratorSet decorators = ARRAYCOPY_CHECKCAST;
+    DecoratorSet decorators = IN_HEAP | IN_HEAP_ARRAY | ARRAYCOPY_CHECKCAST;
     if (dest_uninitialized) {
       decorators |= AS_DEST_NOT_INITIALIZED;
     }