OSDN Git Service

Improve art_quick_resolve_string for arm64 CC
authorMathieu Chartier <mathieuc@google.com>
Mon, 22 Aug 2016 22:38:08 +0000 (15:38 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 22 Aug 2016 23:47:45 +0000 (16:47 -0700)
commit5f404331c0ae5217d35ee8a7be77cde5c54a49de
treed7a172fd4121bb165271415f8630ad8a38fd40e7
parent28715406f29da6bc333c72d3a3b0dd32c2b730c9
Improve art_quick_resolve_string for arm64 CC

Check gc_is_marking instead of the mark bit first, this makes it
that we don't go slow path if the GC is not running.

Also reduced the code by a few instructions.

EAAC CC: ~2000 -> 1256

Test: test-art-target-run-test -j4

Bug: 20323084
Change-Id: I57a1f7a52f1909e2e5dd1b2cfd2612b4a642fe37
runtime/arch/arm64/quick_entrypoints_arm64.S