From bc8361da52b7a8d876abcc163f59dad3eb07b005 Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Mon, 5 Feb 2024 13:42:46 +0000 Subject: 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 --- compiler/optimizing/optimizing_compiler_stats.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/optimizing_compiler_stats.h') 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, -- cgit v1.2.3-59-g8ed1b