6919069: client compiler needs to capture more profile information for tiered work

Added profiling of instanceof and aastore.

Reviewed-by: kvn, jrose, never
This commit is contained in:
Igor Veresov 2010-09-13 12:10:49 -07:00
parent 0aba89442c
commit aa21a39d97
11 changed files with 305 additions and 265 deletions

View file

@ -673,6 +673,8 @@ void Canonicalizer::do_If(If* x) {
} 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();