summaryrefslogtreecommitdiff
path: root/runtime/javaheapprof/javaheapsampler.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2023-10-24 14:09:47 +0100
committer Santiago Aboy Solanes <solanes@google.com> 2023-11-10 09:08:30 +0000
commit05a5b4a0a42944235e4beedefad3c5b9ae0ab3ca (patch)
tree6eafb9a4f0df588f0bcbcacc8a38ac83432d320b /runtime/javaheapprof/javaheapsampler.h
parenta0f462e59f31c38690bc0e73465611d25ef24037 (diff)
Improve linear loop optimization overflow checks
We can move the logic from GenerateLastValueLinear to GenerateCode, where we can: * be more granular, and * reuse that code for other methods. To do so we add an allow_potential_overflow variable. This is done because BCE does perform operations that might overflow, but it uses HDeoptimize instructions to guard against that. Loop optimization doesn't add HDeoptimize instructions so we must be more careful. Bug: 231415860 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: I1d689e5ddd87d96707673b6065ab0cc48b288617
Diffstat (limited to 'runtime/javaheapprof/javaheapsampler.h')
0 files changed, 0 insertions, 0 deletions