< prev index next >
src/hotspot/share/opto/arraycopynode.cpp
Print this page
rev 49911 : imported patch removeAllGCs
@@ -642,10 +642,11 @@
}
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,10 +674,11 @@
}
}
}
}
}
+#endif // INCLUDE_G1GC
return c;
}
bool ArrayCopyNode::may_modify(const TypeOopPtr *t_oop, MemBarNode* mb, PhaseTransform *phase, ArrayCopyNode*& ac) {
< prev index next >