< prev index next >
src/share/vm/opto/stringopts.cpp
Print this page
rev 8961 : [mq]: diff-shenandoah.patch
@@ -1601,10 +1601,11 @@
// below will overwrite the entire array
AllocateArrayNode* char_alloc = AllocateArrayNode::Ideal_array_allocation(char_array, _gvn);
char_alloc->maybe_set_complete(_gvn);
// Now copy the string representations into the final char[]
+ char_array = __ shenandoah_write_barrier(char_array);
Node* start = __ intcon(0);
for (int argi = 0; argi < sc->num_arguments(); argi++) {
Node* arg = sc->argument(argi);
switch (sc->mode(argi)) {
case StringConcat::IntMode: {
< prev index next >