mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
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:
parent
0aba89442c
commit
aa21a39d97
11 changed files with 305 additions and 265 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue