< prev index next >

src/hotspot/share/opto/arraycopynode.cpp

Print this page
*** 704,15 ***
    }
  
    Node* c = mb->in(0);
  
    BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
-   // step over g1 gc barrier if we're at e.g. a clone with ReduceInitialCardMarks off
-   c = bs->step_over_gc_barrier(c);
  
    CallNode* call = nullptr;
!   guarantee(c != nullptr, "step_over_gc_barrier failed, there must be something to step to.");
    if (c->is_Region()) {
      for (uint i = 1; i < c->req(); i++) {
        if (c->in(i) != nullptr) {
          Node* n = c->in(i)->in(0);
          if (may_modify_helper(t_oop, n, phase, ac)) {
--- 704,13 ---
    }
  
    Node* c = mb->in(0);
  
    BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
  
    CallNode* call = nullptr;
!   assert(c != nullptr, "shouldn't be nullptr");
    if (c->is_Region()) {
      for (uint i = 1; i < c->req(); i++) {
        if (c->in(i) != nullptr) {
          Node* n = c->in(i)->in(0);
          if (may_modify_helper(t_oop, n, phase, ac)) {
< prev index next >