diff -r 7b0291382aff -r d9bc8557ae16 src/hotspot/cpu/sparc/stubGenerator_sparc.cpp --- 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; }