烈士家属有什么待遇| 荸荠的读音是什么| 法警是干什么的| 昆仑玉是什么玉| 什么是抑郁| xxoo是什么意思| 儿童上火了吃什么降火最快| 一什么羊| 眼睛老是肿着是什么原因造成的| 夏天有什么水果| 医的笔顺是什么| 人为什么会低血糖| 经常出汗是什么原因| 养鱼为什么养单不养双| 慢性咽喉炎吃什么药好| 金牛座和什么星座最配| 80年属猴的是什么命| 芒果有什么营养| 梦见煮鱼有什么预兆| 鸢是什么意思| 甲状腺饱满是什么意思| 姓许的女孩取什么名字好听| 腿抽筋是什么原因引起的| mr平扫是什么检查| 咳嗽吃什么好的快偏方| 60岁男人喜欢什么样的女人| 精液的主要成分是什么| 七月十号是什么日子| tu是什么意思| 氟西汀什么意思| 女生自慰是什么感觉| 后脑勺疼痛什么原因引起的| 一句没事代表什么意思| 振幅是什么意思| 天秤座的幸运色是什么| 甲是什么生肖| 什么是放疗| 高丽参和红参有什么区别| 属马的和什么属相最配| 酒量越来越差什么原因| 地域黑什么意思| 澳大利亚的国宝是什么| 彩虹旗是什么意思| 潘多拉是什么意思| 同房有点痛什么原因| 把子肉是什么| honor是什么牌子的手机| 25岁今年属什么生肖| 刚满月的小狗吃什么| 甘油三酯高是什么原因引起的| 福德是什么意思| 囊肿是什么病严重吗| 为什么光吃不拉大便| 软组织挫伤用什么药| 成人发烧38度吃什么药| 77是什么意思| 惆怅是什么意思| 俄罗斯信仰什么教| vod是什么意思| 911是什么星座| 5个月宝宝吃什么辅食| 腿容易麻是什么原因| 晚上胃疼是什么原因| 男人耳后有痣代表什么| aug什么意思| 转氨酶偏高有什么症状| 胃烧吃什么药| mc什么意思| 为什么睡不着| 小便尿色黄是什么问题| 绞股蓝长什么样| 吃什么东西减肥最快| 卵巢保养最好的方法是什么| 梦见和死去的人说话是什么意思| 下午三点到四点是什么时辰| 藏红花是什么| 煮粥用什么米| 靖国神社是什么地方| 为什么老是睡不着| 腕管综合征吃什么药| 想要什么样的爱| 门庭若什么| 夏天吃什么好| 肋软骨炎挂什么科| 办离婚证需要带什么证件| 腿外侧是什么经络| 吃什么增强记忆力| 男性性功能障碍吃什么药| 高考300分能上什么大学| 唐山大地震是什么时候| 随笔是什么意思| 失眠是什么意思| 对公转账是什么意思| 肘关节发黑是什么原因| 小孩疝气看什么科室| 男生为什么会遗精| 身上长疮是什么原因引起的| 老舍的原名叫什么| 属狗的守护神是什么菩萨| 看扁桃体挂什么科| 蒲公英是什么样子| 肝在什么位置| 妄想症有什么症状| 赵匡胤为什么不传位给儿子| 正正得什么| 7月15日是什么日子| 孕酮低吃什么可以提高孕酮| 吗啡是什么药| 荨麻疹吃什么药效果好| hm什么牌子| 单抗主要治疗什么| 血红蛋白浓度是什么意思| 法字五行属什么| 夜未央什么意思| 最高的学历是什么| 深圳市市长什么级别| 八一建军节什么生肖| 什么饮料健康| 超细旦是什么面料| 小海绵的真名叫什么| 做三明治需要什么材料| 心心念念是什么意思| 公鸡的尾巴像什么| 为什么容易出汗| 肝胃郁热吃什么中成药| 责成是什么意思| 李世民属什么生肖| 为什么头痛| acg文化是什么意思| 大闸蟹什么时候吃| 碘伏和碘酒有什么区别| 尿检白细胞弱阳性是什么意思| 数字17代表什么意思| 胸疼是什么原因| 牛的本命佛是什么佛| 鳞状上皮炎症反应性改变是什么意思| 血脂粘稠有什么症状| 草字头加西念什么| 什么是能量| 想什么来什么是什么定律| 吃完狗肉不能吃什么| tj什么意思| 盐糖水有什么功效作用| 小苏打学名叫什么| 达芬奇是干什么的| 独角仙吃什么食物| 指甲变黄是什么原因| 孕妇羊水多是什么原因造成的| 一岁宝宝发烧吃什么药| 2b是什么意思| approval是什么意思| 猕猴桃对身体有什么好处| 什么是几何图形| 戒断反应是什么| davena手表什么牌子| 颈椎疼挂什么科| 星星是什么的眼睛| 肚子受凉吃什么药| 浪琴手表属于什么档次| 耐力是什么意思| 网是什么结构的字| 孕晚期羊水多了对宝宝有什么影响| 男蛇配什么属相最好| 甲状腺1类是什么意思| hpv感染用什么药| 晚上看见蛇预示着什么| 子欲养而亲不待什么意思| opd是什么意思| 二月二是什么节| 发蒙是什么意思| 临兵斗者皆阵列在前什么意思| 一直打嗝是什么问题| 鹿加几念什么| 11月11是什么星座| 利尿剂是什么| 柏拉图爱情是什么意思| 是什么样的感觉我不懂是什么歌| 什么是化疗和放疗| 农历6月20日是什么星座| 虚不受补是什么意思| 订单号是什么| 三项规定内容是什么| 妃子笑是什么茶| 沉淀是什么意思| 月亮星座代表什么意思| 士字五行属什么| 吃万艾可有什么副作用| 眩晕吃什么药好| 什么叫985大学| 吃什么有助于排便| 恢复是什么意思| 紫光檀是什么木| rem是什么意思| 周天是什么意思| ccu是什么病房| 孩子流口水是什么原因引起的| 石楠花是什么| 荨麻疹吃什么药管用| mlb是什么意思| 十一月份出生的是什么星座| 额头炎是什么症状| 什么是胸推| 毛主席属什么生肖| 5.22是什么星座| 文书是什么| 什么米不能吃| 血小板偏高是什么原因| 洋葱与什么食物相克| 太监和宫女对食是什么意思| 唐僧被封为什么佛| 三五成群是什么意思| 斗鱼吃什么食物| 狗篮子什么意思| 多吃海带有什么好处和坏处| 转是什么意思| 例假提前来是什么原因| 脑梗不能吃什么| 棱角分明是什么意思| 驴打滚是什么意思| 离婚需要带什么证件| 缺少雌激素吃什么可以补充| 小孩缺铁有什么症状| 91年出生的属什么| 回民为什么不能吃猪肉| mw是什么意思| 吃坏肚子吃什么药| 鲲之大的之是什么意思| 人参长什么样| 午餐肉是什么肉| 人绒毛膜促性腺激素是什么| 尖嘴猴腮是什么生肖| 荨麻疹吃什么药好的快| 嗓子有粘痰什么原因| tt什么意思| 沉贵宝是什么木| 尿液带血什么原因| 乙肝e抗体阴性是什么意思| 午睡睡不着是什么原因| 肝功能检查什么| 姜什么时候种植最好| 高压氧治疗有什么作用| 农历七月份是什么星座| 钥匙是什么意思| 5月10日什么星座| 十月二十六是什么星座| 3的倒数是什么| 上颌窦炎吃什么药| 毛囊炎用什么药最有效| 心眼是什么意思| 被紫外线灯照到有什么后果呀| 血清果糖胺测定是什么| 日柱将星是什么意思| 什么是血管瘤| 营养不良会导致身体出现什么症状| 后背发凉是什么原因| das是什么意思| 痔疮嵌顿是什么意思| 湿气重是什么原因造成的| 1978年是什么年| renewal什么意思| gbs检查是什么| 日入是什么时辰| 全麦粉和小麦粉的区别是什么| 属狗的幸运色是什么颜色| 百度Jump to content

脑宁又叫什么名字

From Wikipedia, the free encyclopedia
百度 这样做只会脱离广大的华侨群众。

ART
Developer(s)Google
Repositoryandroid.googlesource.com/platform/art/
Written inC++
Operating systemAndroid
PlatformARM64 RISC-V x86
Included withAndroid
PredecessorDalvik
TypeRuntime environment
LicenseApache License 2.0[1]
Websitesource.android.com/docs/core/runtime Edit this on Wikidata

Android Runtime (ART) is an application runtime environment used by the Android operating system. Replacing Dalvik, the process virtual machine originally used by Android, ART performs the translation of some of the application's bytecode into native instructions that are later executed by the device's runtime environment.[2]

Overview

[edit]
A comparison of Dalvik and ART architectures

Android 2.2 "Froyo" brought trace-based just-in-time (JIT) compilation into Dalvik, optimizing the execution of applications by continually profiling applications each time they run and dynamically compiling frequently executed short segments of their bytecode into native machine code. While Dalvik interprets the rest of an application's bytecode, native execution of those short bytecode segments, called "traces", provides significant performance improvements.[3][4]

Unlike Dalvik, ART introduces the use of ahead-of-time (AOT) compilation by compiling the most performance-critical parts of applications (previously, the entire app) into native machine code upon their installation. This way, ART improves the overall execution efficiency and reduces power consumption, which results in improved battery autonomy on mobile devices. At the same time, ART brings faster execution of applications, improved memory allocation and garbage collection (GC) mechanisms, new applications debugging features, and more accurate high-level profiling of applications.[2][5][6]

To maintain backward compatibility, ART uses the same input bytecode as Dalvik, supplied through standard .dex files as part of APK files, while the .odex files are replaced with Executable and Linkable Format (ELF) executables. Once an application is compiled by using ART's on-device dex2oat utility, it is run from the compiled ELF executable; as a result, ART eliminates various application execution overheads associated with Dalvik's interpretation and trace-based JIT compilation.

A disadvantage of ART is that additional time is required for compilation when an application is installed, and applications take up slightly more secondary storage (usually flash memory) to store the compiled code.[2][5][6] Long AOT compilation became especially problematic when monthly security updates became the norm, locking users out of the OS for a long time after each update.

To improve on these, a hybrid approach was introduced in Android 7.0 (Nougat) which originally relies on JIT compilation, but later, when the device is idle and charging, compiles the most frequently used code as well as that on the UI thread to native code.[7]

History

[edit]

Android 4.4 "KitKat" introduced a technology preview of ART as an alternative runtime environment to Dalvik, which remained the default virtual machine.[8][9] In the subsequent major Android release, Android 5.0 "Lollipop", Dalvik was entirely replaced by ART.

Android 7.0 "Nougat" turned the ART from a pure AOT to a hybrid JIT/AOT solution, while switching its Java Runtime Environment from the discontinued Apache Harmony to OpenJDK, introducing a JIT compiler with code profiling.[10] The JIT compiler complements ART's AOT compiler, helping to improve runtime performance and save storage space by identifying "hot code" (code which is frequently used, runs on the UI thread or affects startup time), which the AOT compiler compiles to machine code while the device is idle and charging. Less-frequently used code relies on JIT compilation.[11][12]

Android 9 "Pie" reduced the amount of storage used by APKs by using compressed bytecode files, and profiler data can be uploaded to Google Play servers to be bundled with apps when downloaded by users with a similar device, which shortens download time from Google Play by up to 40%. Google Play cloud profiles allow apps to be optimized on installation, which helps avoid the initial performance issues present on Android 7.0 to 8.1.[13]

In July 2021,[14] the concept of baseline profiles was introduced. Baseline profiles are ART profiles that define methods and classes which should undergo AOT compilation from an app's first launch, and are compatible with Android 7.0 and later. They provide similar functionality to Android 9's Google Play cloud profiles when they are not available and automatically merge with cloud profiles when they are available. Baseline profiles are included with releases of AndroidX libraries and Jetpack Compose.[15]

ART was updated with a new garbage collector (GC) utilizing the Linux userfaultfd system call in Android 13.[16][17][18] It reduces memory pressure, compiled code size and jank, and prevents the risk of killing apps because of low memory during garbage collection.[18] Other changes also improve app startup, reduce jank and improve performance.[18] Because of the Mainline project, Android 12's ART will also be updated.[16]

See also

[edit]

References

[edit]
  1. ^ "NOTICE - platform/art - Git at Google". Archived from the original on March 4, 2023. Retrieved June 25, 2021.
  2. ^ a b c Andrei Frumusanu (July 1, 2014). "A Closer Look at Android RunTime (ART) in Android L". AnandTech. Archived from the original on July 5, 2014. Retrieved July 5, 2014.
  3. ^ Ben Cheng; Bill Buzbee (May 2010). "A JIT Compiler for Android's Dalvik VM" (PDF). android-app-developer.co.uk. Google. pp. 5–14. Archived from the original (PDF) on November 6, 2015. Retrieved March 18, 2015.
  4. ^ Phil Nickinson (May 26, 2010). "Google Android developer explains more about Dalvik and the JIT in Froyo". androidcentral.com. Archived from the original on April 8, 2017. Retrieved July 8, 2014.
  5. ^ a b "Android Developers: ART and Dalvik". source.android.com. March 9, 2015. Archived from the original on March 15, 2015. Retrieved March 18, 2015.
  6. ^ a b "Android Developers: Configuring ART – How ART works". source.android.com. March 9, 2015. Retrieved March 18, 2015.
  7. ^ Amadeo, Ron (August 22, 2016). "Android 7.0 Nougat review—Do more on your gigantic smartphone". Ars Technica. Retrieved April 5, 2023.
  8. ^ Sean Buckley (November 6, 2013). "'ART' experiment in Android KitKat improves battery life and speeds up apps". Engadget. Archived from the original on January 27, 2017. Retrieved July 5, 2014.
  9. ^ Daniel P. (November 7, 2013). "Experimental Google ART runtime in Android KitKat can bring twice faster app executions". phonearena.com. Archived from the original on July 7, 2014. Retrieved July 5, 2014.
  10. ^ "Android 7.0 for Developers". Android Developers. Retrieved March 22, 2021.
  11. ^ Amadeo, Ron (August 22, 2016). "Android 7.0 Nougat review—Do more on your gigantic smartphone". Ars Technica. Retrieved April 5, 2023.
  12. ^ "Implementing ART Just-In-Time (JIT) Compiler". source.android.com. January 22, 2017. Archived from the original on August 8, 2023. Retrieved January 22, 2017.
  13. ^ Amadeo, Ron (September 13, 2018). "Android 9 Pie, thoroughly reviewed". Ars Technica. Archived from the original on November 30, 2018. Retrieved August 16, 2022.
  14. ^ "ProfileInstaller | Jetpack". Android Developers. Archived from the original on August 8, 2023. Retrieved July 5, 2023.
  15. ^ Semenova, Kateryna; Ravikumar, Rahul; Craik, Chris (January 28, 2022). "Improving App Performance with Baseline Profiles". Android Developers Blog. Archived from the original on August 8, 2023. Retrieved July 5, 2023.
  16. ^ a b Gidra, Lokesh (May 12, 2022), What's new in app performance, archived from the original on August 16, 2022, retrieved August 16, 2022
  17. ^ Gidra, Lokesh; Boehm, Hans-J.; Fernandes, Joel (October 12, 2020). "Utilizing the Linux Userfaultfd System Call in a Compaction Phase of a Garbage Collection Process". Defensive Publications Series. Archived from the original on August 16, 2022. Retrieved August 16, 2022.
  18. ^ a b c "Android 13 is in AOSP!". Android Developers Blog. Archived from the original on August 15, 2022. Retrieved August 16, 2022.
[edit]
一什么棉花 什么是领导 眼睛散光和近视有什么区别 1992属什么生肖 腹直肌分离是什么意思
梦见车丢了是什么征兆 炖羊肉放什么 智商是什么意思 啤酒加生鸡蛋一起喝有什么效果 胃上火有什么症状
下眼袋发青是什么原因 肝内低密度影是什么意思 老人脚肿是什么原因 蚯蚓的血是什么颜色的 一代明君功千秋是什么生肖
肠炎吃什么药好的快 低盐饮食有利于预防什么 肚脐左侧是什么器官 办护照有什么要求 1971属什么生肖
发烧去医院挂什么科hcv9jop1ns0r.cn 比值是什么意思baiqunet.com 医生为什么看瞳孔知道没救了hcv9jop3ns1r.cn 什么是梅尼埃病sscsqa.com 清明有什么习俗hcv8jop5ns5r.cn
交警大队长是什么级别hcv9jop7ns2r.cn 美国为什么不敢打朝鲜hcv8jop0ns3r.cn 尿频是什么意思hcv8jop3ns5r.cn 人为什么会困hcv9jop1ns8r.cn 卵圆孔未闭挂什么科hcv8jop2ns4r.cn
什么样的人可以通灵hcv8jop2ns8r.cn philips是什么牌子hcv8jop6ns9r.cn 什么叫抗体阳性hcv8jop2ns0r.cn 早上7点到9点是什么时辰hcv8jop8ns9r.cn 梦见丢了一只鞋是什么意思hcv8jop2ns9r.cn
胃肠蠕动慢吃什么药hcv8jop6ns0r.cn 六害是什么意思hcv8jop1ns3r.cn hpv6阳性是什么意思kuyehao.com 右侧卵巢内囊性结构什么意思dajiketang.com 吃什么容易上火hcv8jop7ns7r.cn
百度