--- old/src/share/vm/memory/oopFactory.cpp 2015-10-14 13:54:07.911041994 +0200 +++ new/src/share/vm/memory/oopFactory.cpp 2015-10-14 13:54:07.804044582 +0200 @@ -41,6 +41,7 @@ int length = utf8_str == NULL ? 0 : UTF8::unicode_length(utf8_str); typeArrayOop result = new_charArray(length, CHECK_NULL); if (length > 0) { + result = typeArrayOop(oopDesc::bs()->write_barrier(result)); UTF8::convert_to_unicode(utf8_str, result->char_at_addr(0), length); } return result;