diff -r 8c9029c01470 -r d2a189b83b87 hotspot/src/share/vm/opto/lcm.cpp --- a/hotspot/src/share/vm/opto/lcm.cpp Mon Oct 08 17:04:00 2012 -0700 +++ b/hotspot/src/share/vm/opto/lcm.cpp Tue Oct 09 10:11:38 2012 +0200 @@ -164,6 +164,7 @@ case Op_StoreL: case Op_StoreP: case Op_StoreN: + case Op_StoreNKlass: was_store = true; // Memory op is a store op // Stores will have their address in slot 2 (memory in slot 1). // If the value being nul-checked is in another slot, it means we