diff options
author | Artem Serov <artem.serov@linaro.org> | 2018-12-20 19:15:11 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2019-07-15 09:30:36 +0000 |
commit | 2808be84a8f86542450670acdb5e6b55498ff5f0 (patch) | |
tree | f41b63e3109a6a6a9bd534f32b8d92f20eb9ef35 /compiler/optimizing/instruction_builder.cc | |
parent | 460f05480379d5c75555d06c4938bc990ce6ff83 (diff) |
ART: Introduce stackmap with no DexRegInfo.
Some of safepoints don't need to have DexRegisterMap info;
this will decrease the stackmap size.
.oat file size reduction:
- boot.oat: -233 kb (-5.4%)
- boot-framework.oat: -704 kb (-4.9%)
Test: 461-get-reference-vreg, 466-get-live-vreg.
Test: 543-env-long-ref, 616-cha*.
Test: test-art-target, +gc-stress.
Change-Id: Idbad355770e30a30dcf14127642e03ee666878b8
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
-rw-r--r-- | compiler/optimizing/instruction_builder.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index f8f813e3fd..e7f0872c65 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -3096,6 +3096,7 @@ bool HInstructionBuilder::ProcessDexInstruction(const Instruction& instruction, LoadLocal(instruction.VRegA_11x(), DataType::Type::kReference), HMonitorOperation::OperationKind::kEnter, dex_pc)); + graph_->SetHasMonitorOperations(true); break; } @@ -3104,6 +3105,7 @@ bool HInstructionBuilder::ProcessDexInstruction(const Instruction& instruction, LoadLocal(instruction.VRegA_11x(), DataType::Type::kReference), HMonitorOperation::OperationKind::kExit, dex_pc)); + graph_->SetHasMonitorOperations(true); break; } |