diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2019-11-27 17:42:32 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2019-12-03 14:32:09 +0000 |
commit | a59af8aeaad8fe7d68d8f8de63eab9cf85b6ab31 (patch) | |
tree | 83195c74b135731cc4555254763a8f449691c1b0 /compiler/optimizing/stack_map_stream.h | |
parent | 5c8cc64b5f1580faf510f27527e7e22987174963 (diff) |
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
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r-- | compiler/optimizing/stack_map_stream.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h index f45e3d720e..67f716ce70 100644 --- a/compiler/optimizing/stack_map_stream.h +++ b/compiler/optimizing/stack_map_stream.h @@ -61,7 +61,8 @@ class StackMapStream : public DeletableArenaObject<kArenaAllocStackMapStream> { void BeginMethod(size_t frame_size_in_bytes, size_t core_spill_mask, size_t fp_spill_mask, - uint32_t num_dex_registers); + uint32_t num_dex_registers, + bool baseline = false); void EndMethod(); void BeginStackMapEntry(uint32_t dex_pc, @@ -119,6 +120,7 @@ class StackMapStream : public DeletableArenaObject<kArenaAllocStackMapStream> { uint32_t core_spill_mask_ = 0; uint32_t fp_spill_mask_ = 0; uint32_t num_dex_registers_ = 0; + bool baseline_; BitTableBuilder<StackMap> stack_maps_; BitTableBuilder<RegisterMask> register_masks_; BitmapTableBuilder stack_masks_; |