While testing a new flag I want to introduce (TraceOSR) I noticed that unresolved invokedynamic call sites compiled in C1 deoptimize and OSR infinitely. The reason for that is we deoptimize but we don't have machinery in C1 to tell to throw the method out and recompile it. So we just enter the same method again and hit the same unresolved call site.
|