diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-09-02 14:54:11 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-09-03 13:27:19 -0700 |
commit | 736b560f2d2c89b63dc895888c671b5519afa4c8 (patch) | |
tree | d5aee7ac36f458a5f6e6d75fceb19f8963a71db5 /compiler/compiler.h | |
parent | fe3879e6011f629d0dd6b04fab00b9496bd4ea08 (diff) |
Reduce how often we call FindDexCache
Before host boot.oat -j4 optimizing compile:
real 1m17.792s
user 3m26.140s
sys 0m8.340s
After:
real 1m12.324s
user 3m22.718s
sys 0m8.320s
Change-Id: If18e9e79e06cdf1676692e5efacb682bf93889c3
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r-- | compiler/compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h index 01ca46efd3..9b4dbe02e2 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -51,7 +51,8 @@ class Compiler { uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, - const DexFile& dex_file) const = 0; + const DexFile& dex_file, + Handle<mirror::DexCache> dex_cache) const = 0; virtual CompiledMethod* JniCompile(uint32_t access_flags, uint32_t method_idx, |