diff options
author | 2023-01-12 16:10:05 +0000 | |
---|---|---|
committer | 2023-01-30 10:21:34 +0000 | |
commit | 3633fe4e7dc8a4acaea0d9911c86683b51c1db2b (patch) | |
tree | ca7fd3a8ae28231aa6d120f14900c44b528ecefb /compiler/optimizing/optimizing_compiler_stats.h | |
parent | b6c230117d189c79eaf7e063f2f3fa5fec399aca (diff) |
Skip InductionVarAnalysis for a pathological case
Having a long chain of loop header phis hangs up the compiler.
Note that we can still compile the method if we skip the
InductionVarAnalysis phase.
Bug: 246249941
Fixes: 246249941
Bug: 32545907
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Test: dex2oat compile the app in 246249941
Change-Id: Id2d14b1c4d787f98d656055274c7cfcae6491686
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
-rw-r--r-- | compiler/optimizing/optimizing_compiler_stats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index 698a1471c3..866c88382a 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -112,6 +112,7 @@ enum class MethodCompilationStat { kNotInlinedUnresolved, kNotInlinedPolymorphic, kNotInlinedCustom, + kNotVarAnalyzedPathological, kTryInline, kConstructorFenceGeneratedNew, kConstructorFenceGeneratedFinal, |