diff options
author | 2024-02-05 13:42:46 +0000 | |
---|---|---|
committer | 2024-02-05 14:47:29 +0000 | |
commit | bc8361da52b7a8d876abcc163f59dad3eb07b005 (patch) | |
tree | 4ef641d6de9ed3d360dcbd8fcb7cfe168b5b6439 /compiler/optimizing/optimizing_compiler_stats.h | |
parent | ddd9953796c8ea316abd2034d12d2ba843af06fe (diff) |
Make sure the frame size isn't unreasonably large when compiling
This CLs adds a check that we don't have an unreasonably large
frame size, and bails out from the compile if we detect it.
We had a similar check on RISC-V but not in other archs.
Bug: 323309447
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I4619dbbbc12c6e22ce335a17d15d90af8878808e
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 60d18d2f24..22c43fc7ad 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -68,6 +68,7 @@ enum class MethodCompilationStat { kNotCompiledInliningIrreducibleLoop, kNotCompiledIrreducibleLoopAndStringInit, kNotCompiledPhiEquivalentInOsr, + kNotCompiledFrameTooBig, kInlinedMonomorphicCall, kInlinedPolymorphicCall, kMonomorphicCall, |