< prev index next >
src/hotspot/share/opto/arraycopynode.cpp
Print this page
*** 642,651 ****
--- 642,652 ----
}
return false;
}
static Node* step_over_gc_barrier(Node* c) {
+ #if INCLUDE_G1GC
if (UseG1GC && !GraphKit::use_ReduceInitialCardMarks() &&
c != NULL && c->is_Region() && c->req() == 3) {
for (uint i = 1; i < c->req(); i++) {
if (c->in(i) != NULL && c->in(i)->is_Region() &&
c->in(i)->req() == 3) {
*** 673,682 ****
--- 674,684 ----
}
}
}
}
}
+ #endif // INCLUDE_G1GC
return c;
}
bool ArrayCopyNode::may_modify(const TypeOopPtr *t_oop, MemBarNode* mb, PhaseTransform *phase, ArrayCopyNode*& ac) {
< prev index next >