--- old/src/share/vm/oops/typeArrayKlass.cpp 2015-10-14 13:54:13.724901411 +0200 +++ new/src/share/vm/oops/typeArrayKlass.cpp 2015-10-14 13:54:13.606904265 +0200 @@ -148,6 +148,9 @@ if (length == 0) return; + s = arrayOop(oopDesc::bs()->read_barrier(s)); + d = arrayOop(oopDesc::bs()->write_barrier(d)); + // This is an attempt to make the copy_array fast. int l2es = log2_element_size(); int ihs = array_header_in_bytes() / wordSize;