changeset 9440:4f82f2345042

Make sure to call post-barrier after oop-arraycopy.
author rkennke
date Thu, 30 Jul 2015 15:51:44 +0200
parents 399bc16a1b86
children 0f1a8f65ef66
files src/share/vm/opto/macroArrayCopy.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/macroArrayCopy.cpp	Thu Jul 30 15:51:44 2015 +0200
+++ b/src/share/vm/opto/macroArrayCopy.cpp	Thu Jul 30 15:51:44 2015 +0200
@@ -547,7 +547,7 @@
     // At this point we know we do not need type checks on oop stores.
 
     // Let's see if we need card marks:
-    if (alloc != NULL && GraphKit::use_ReduceInitialCardMarks()) {
+    if (alloc != NULL && GraphKit::use_ReduceInitialCardMarks() && ! UseShenandoahGC) {
       // If we do not need card marks, copy using the jint or jlong stub.
       copy_type = LP64_ONLY(UseCompressedOops ? T_INT : T_LONG) NOT_LP64(T_INT);
       assert(type2aelembytes(basic_elem_type) == type2aelembytes(copy_type),