[K/N][codegen] Escape analysis: increased a bit the number of iterations
This helps the algorithm to converge in more situations and increases the number of stack allocated objects
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ internal object EscapeAnalysis {
|
||||
context.log { "Escape analysis is not changed" }
|
||||
} else {
|
||||
context.log { "Escape analysis was refined:\n$endResult" }
|
||||
if (numberOfRuns[function]!! > 1) {
|
||||
if (numberOfRuns[function]!! > 2) {
|
||||
// TODO: suboptimal. May be it is possible somehow handle the entire component at once?
|
||||
context.log {
|
||||
"WARNING: Escape analysis for $function seems not to be converging." +
|
||||
|
||||
Reference in New Issue
Block a user