diff -r 6f5143b00f4c -r cfc616b49f58 hotspot/src/share/vm/c1/c1_Canonicalizer.cpp --- a/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp Sat Sep 11 15:21:37 2010 -0700 +++ b/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp Mon Sep 13 12:10:49 2010 -0700 @@ -673,6 +673,8 @@ } else if (l->as_InstanceOf() != NULL) { // NOTE: Code permanently disabled for now since it leaves the old InstanceOf // instruction in the graph (it is pinned). Need to fix this at some point. + // It should also be left in the graph when generating a profiled method version or Goto + // has to know that it was an InstanceOf. return; // pattern: If ((obj instanceof klass) cond rc) => simplify to: IfInstanceOf or: Goto InstanceOf* inst = l->as_InstanceOf();