--- a/hotspot/src/share/vm/opto/loopTransform.cpp Fri Apr 11 09:56:35 2008 -0400
+++ b/hotspot/src/share/vm/opto/loopTransform.cpp Sun Apr 13 17:43:42 2008 -0400
@@ -1513,7 +1513,8 @@
(bol->in(1)->Opcode() == Op_StoreLConditional ) ||
(bol->in(1)->Opcode() == Op_CompareAndSwapI ) ||
(bol->in(1)->Opcode() == Op_CompareAndSwapL ) ||
- (bol->in(1)->Opcode() == Op_CompareAndSwapP )))
+ (bol->in(1)->Opcode() == Op_CompareAndSwapP ) ||
+ (bol->in(1)->Opcode() == Op_CompareAndSwapN )))
return; // Allocation loops RARELY take backedge
// Find the OTHER exit path from the IF
Node* ex = iff->proj_out(1-test_con);