From a59af8aeaad8fe7d68d8f8de63eab9cf85b6ab31 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 27 Nov 2019 17:42:32 +0000 Subject: JIT baseline: trigger optimized compilation on hotness threshold. - Add a new hotness count in the ProfilingInfo to not conflict with interpreter hotness which may use it for OSR. - Add a baseline flag in the OatQuickMethodHeader to identify baseline compiled methods. - Add a -Xusetieredjit flag to experiment and test. Bug: 119800099 Test: test.py with Xusetieredjit to true Change-Id: I8512853f869f1312e3edc60bf64413dee9143c52 --- compiler/optimizing/code_generator.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index bef7169da1..8406ef5504 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -395,7 +395,8 @@ void CodeGenerator::Compile(CodeAllocator* allocator) { GetStackMapStream()->BeginMethod(HasEmptyFrame() ? 0 : frame_size_, core_spill_mask_, fpu_spill_mask_, - GetGraph()->GetNumberOfVRegs()); + GetGraph()->GetNumberOfVRegs(), + GetGraph()->IsCompilingBaseline()); size_t frame_start = GetAssembler()->CodeSize(); GenerateFrameEntry(); -- cgit v1.2.3-59-g8ed1b