commit | f5de23265360e15fcfceb7d07bdadca0e5bb5f0a | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Nov 15 17:56:15 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Nov 16 23:26:16 2016 +0000 |
tree | 1bf893445a4c6fb35c430a68d79f66fa02fe4d2b | |
parent | e89667815b9d0a1eacb91678fed2a7518bb07cc2 [diff] |
X86_64: Add allocation entrypoint switching for CC is_marking Only X86_64 done so far. Use normal TLAB allocators if GC is not marking. Allocation speed goes up by ~8% based on perf sampling. Without change: 1.19%: art_quick_alloc_object_region_tlab With change: 0.63%: art_quick_alloc_object_tlab 0.47%: art_quick_alloc_object_region_tlab Bug: 31018974 Bug: 12687968 Test: test-art-host-run-test Change-Id: I4c4d9eb229d4ad2f41b856ba5c2958a5eb3b7ffa