Upgrade to Pro — share decks privately, control downloads, hide ads and more …

できる! ART

demuyan
March 21, 2014

できる! ART

demuyan

March 21, 2014
Tweet

More Decks by demuyan

Other Decks in Technology

Transcript

  1. 2014/3/21 Android Bazaar and Conference 2014 Spring ࣗݾ঺հ w ग़ଜɹ੒࿨

    w !DIFDLFMB w ϑϦʔϥϯεΤϯδχΞ w ॻ੶ͷࣥච΋ʮ"OESPJE/%,ωΠςΟϒϓϩάϥ ϛϯάʯͳͲɻ w &⒎FDUJWF"OESPJEͰ͸ʮ"041Λ׆༻͢Δํ๏ʯ Λࣥච
  2. 2014/3/21 Android Bazaar and Conference 2014 Spring ৽ػೳ w ௿εϖοΫػͰ΋շదʹ࣮ߦ

    w ϫΠϠϨεϓϦϯτ w ϩοΫը໘ͷมߋ w "35ͷࢼݧత࣮૷ What is ART?
  3. 2014/3/21 Android Bazaar and Conference 2014 Spring ࣮ߦϑΝΠϧ %BMWJL7. $16

    όΠτίʔυ DalvikVM͕ཧղ! Ͱ͖Δίʔυ CPUͰ࣮ߦ͢ΔͨΊͷม׵! (ωΠςΟϒίʔυ΁ม׵)
  4. 2014/3/21 Android Bazaar and Conference 2014 Spring ࣮ߦϑΝΠϧ %BMWJL7. $16

    όΠτίʔυ DalvikVM͕ཧղ! Ͱ͖Δίʔυ CPUͰ͸! ௚઀࣮ߦͰ͖ͳ͍ CPUͰ࣮ߦ͢ΔͨΊͷม׵! (ωΠςΟϒίʔυ΁ม׵)
  5. 2014/3/21 Android Bazaar and Conference 2014 Spring ࣮ߦϑΝΠϧ %BMWJL7. $16

    όΠτίʔυ Ծ૝Ϛγϯ΁ CPUͰ࣮ߦͰ͖Δ Α͏ʹม׵ CPUͰ࣮ߦ͢ΔͨΊͷม׵! (ωΠςΟϒίʔυ΁ม׵)
  6. 2014/3/21 Android Bazaar and Conference 2014 Spring ࣮ߦϑΝΠϧ %BMWJL7. $16

    CPUͰ࣮ߦ ࣮ߦ࣌ όΠτίʔυ CPUͰ࣮ߦ͢ΔͨΊͷม׵! (ωΠςΟϒίʔυ΁ม׵)
  7. 2014/3/21 Android Bazaar and Conference 2014 Spring ࣮ߦϑΝΠϧ %BMWJL7. $16

    ωΠςΟϒίʔυ CPUͰ࣮ߦ͢ΔͨΊͷม׵! (ωΠςΟϒίʔυ΁ม׵) CPUͰ! ௚઀࣮ߦͰ͖Δίʔυ
  8. 2014/3/21 Android Bazaar and Conference 2014 Spring CPUͰ࣮ߦ͢ΔͨΊͷม׵! (ωΠςΟϒίʔυ΁ม׵) ࣮ߦϑΝΠϧ

    %BMWJL7. $16 ωΠςΟϒίʔυ ωΠςΟϒίʔυ ม׵͕ෆཁ CPUͰ! ௚઀࣮ߦͰ͖Δίʔυ
  9. 2014/3/21 Android Bazaar and Conference 2014 Spring %BMWJL7.ͷ੍໿ 32bit 32bit

    32bit CJU஋ CJU஋ ̏̎Ϗοτ$16લఏͷઃܭ ্Ґ32bitɺԼҐ32bitʹ! ෼ׂͯ֨͠ೲ %BMWJL7.಺෦ʢϨδελʣͰͷ஋ͷѻ͍
  10. 2014/3/21 Android Bazaar and Conference 2014 Spring CJU$16ͱͷൺֱ 32bit 32bit

    %BMWJL CJU஋ CJU$16 ϋʔυ΢ΣΞ 64bit 64bit CPUͷੑೳ͕ੜ͔ͤͳ͍ʂ
  11. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ dexopt! ίϚϯυ όΠτίʔυ࠷దԽ ຊମ಺! ΩϟογϡྖҬ EFYϑΝΠϧ
  12. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࠷దԽ͞Εͨ! dexϑΝΠϧ͕ੜ੒͞ΕΔ EFYϑΝΠϧ dexopt! ίϚϯυ
  13. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࠷దԽ͞Εͨ! dexϑΝΠϧ͕ੜ੒͞ΕΔ EFYϑΝΠϧ த਎͸όΠτίʔυ dexopt! ίϚϯυ
  14. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ EFYϑΝΠϧ ࣮ߦ ΩϟογϡྖҬͷ! dexϑΝΠϧΛಡΈɺ࣮ߦ
  15. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ EFYϑΝΠϧ όΠτίʔυ
  16. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ Πϯετʔϧ͢Δͱ EFYϑΝΠϧ όΠτίʔυ
  17. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ dex2oat! ίϚϯυ ωΠςΟϒίʔυม׵ ຊମ಺! ΩϟογϡྖҬ EFYϑΝΠϧ όΠτίʔυ EFYϑΝΠϧ ωΠςΟϒίʔυ
  18. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ ຊମ಺! ΩϟογϡྖҬ dex2oat! ίϚϯυ EFYϑΝΠϧ όΠτίʔυ EFYϑΝΠϧ ωΠςΟϒίʔυ ΩϟογϡྖҬʹdex ϑΝΠϧ͕ੜ੒͞ΕΔ
  19. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ ωΠςΟϒίʔυ EFYϑΝΠϧ

    %BMWJL7. ΞϓϦέʔγϣϯ %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ ຊମ಺! ΩϟογϡྖҬ ΩϟογϡྖҬʹdex ϑΝΠϧ͕ੜ੒͞ΕΔ த਎͸ωΠςΟϒίʔυ dex2oat! ίϚϯυ EFYϑΝΠϧ όΠτίʔυ
  20. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ ຊମ಺! ΩϟογϡྖҬ த਎͸ωΠςΟϒίʔυ ͜͜ͰLLVM͕࢖ΘΕ͍ͯΔ dex2oat! ίϚϯυ EFYϑΝΠϧ όΠτίʔυ EFYϑΝΠϧ ωΠςΟϒίʔυ ΩϟογϡྖҬʹdex ϑΝΠϧ͕ੜ੒͞ΕΔ
  21. 2014/3/21 Android Bazaar and Conference 2014 Spring EFYϑΝΠϧ %BMWJL7. ΞϓϦέʔγϣϯ

    %BMWJL7.؀ڥ ຊମ಺! ΩϟογϡྖҬ EFYϑΝΠϧ όΠτίʔυ ࣮ߦ EFYϑΝΠϧ $16 ΞϓϦέʔγϣϯ "35؀ڥ ຊମ಺! ΩϟογϡྖҬ EFYϑΝΠϧ ωΠςΟϒίʔυ ΩϟογϡྖҬͷ! dexϑΝΠϧΛ࣮ߦ ࣮ߦ
  22. 2014/3/21 Android Bazaar and Conference 2014 Spring "OESPJEͱ--7. w 3FOEFS4DSJQU

    w "OESPJE/%,ʢDMBOHίϯύΠϥʣ w "35 EFYPBUίϚϯυ ARTొ৔Ҏલ͔Β! ͍Ζ͍Ζ࢖ΘΕ͍ͯΔ
  23. 2014/3/21 Android Bazaar and Conference 2014 Spring "35ˍ--7.ͷϝϦοτ w ౥ࡌ$16

    4P$ ʹ࠷దԽ࣮ͨ͠ߦϑΝΠϧ͕ੜ੒ Մೳ w ࣮ߦ؀ڥଆͰϏϧυ͢ΔͨΊ w "3.W CJU ɺ"3.W CJU ɺYɺ Y@ ARMͰͷઃఆ߲໨͸ ଟछଟ༷ʹଘࡏ͢Δ
  24. 2014/3/21 Android Bazaar and Conference 2014 Spring commit ffb939a0709ccb100d450e6e30d4c1ca85132163 Author:

    Ian Rogers <[email protected]> Date: Wed Mar 12 11:51:02 2014 -0700 ! Set default dex2oat instruction set for x86-64 and ARM64.!
  25. 2014/3/21 Android Bazaar and Conference 2014 Spring commit bf6b92a158053c98b15f4393abb3b86344ec9a20 Author:

    Andreas Gampe <[email protected]> Date: Wed Mar 5 16:11:04 2014 -0800 ! Generic JNI implementation for x86_64 ! Starting implementation for generic JNI on x86_64. Frames are of large static size (>4K) right now, should be compacted later. Passes the whole of jni_compiler_test.