--- a/hotspot/src/share/vm/opto/loopTransform.cpp Wed Aug 29 14:49:05 2012 -0400
+++ b/hotspot/src/share/vm/opto/loopTransform.cpp Wed Aug 29 13:02:40 2012 -0700
@@ -547,11 +547,6 @@
Node *nnn = old_new[old->_idx];
if (!has_ctrl(nnn))
set_idom(nnn, idom(nnn), dd-1);
- // While we're at it, remove any SafePoints from the peeled code
- if (old->Opcode() == Op_SafePoint) {
- Node *nnn = old_new[old->_idx];
- lazy_replace(nnn,nnn->in(TypeFunc::Control));
- }
}
// Now force out all loop-invariant dominating tests. The optimizer