hotspot/src/share/vm/opto/loopTransform.cpp
changeset 360 21d113ecbf6a
parent 212 cd4963e67949
child 762 1b26adb5fea1
child 670 ddf3e9583f2f
--- 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);