src/hotspot/share/opto/library_call.cpp
changeset 54048 744dc9c33676
parent 54022 ff399127078a
child 54224 eed9f74eab87
equal deleted inserted replaced
54047:0a9cb99a98a0 54048:744dc9c33676
  4459 
  4459 
  4460   set_result(_gvn.transform(result_val));
  4460   set_result(_gvn.transform(result_val));
  4461   return true;
  4461   return true;
  4462 }
  4462 }
  4463 
  4463 
  4464 // If we have a tighly coupled allocation, the arraycopy may take care
  4464 // If we have a tightly coupled allocation, the arraycopy may take care
  4465 // of the array initialization. If one of the guards we insert between
  4465 // of the array initialization. If one of the guards we insert between
  4466 // the allocation and the arraycopy causes a deoptimization, an
  4466 // the allocation and the arraycopy causes a deoptimization, an
  4467 // unitialized array will escape the compiled method. To prevent that
  4467 // unitialized array will escape the compiled method. To prevent that
  4468 // we set the JVM state for uncommon traps between the allocation and
  4468 // we set the JVM state for uncommon traps between the allocation and
  4469 // the arraycopy to the state before the allocation so, in case of
  4469 // the arraycopy to the state before the allocation so, in case of