{"id":840,"date":"2025-07-28T14:23:46","date_gmt":"2025-07-28T14:23:46","guid":{"rendered":"https:\/\/nurlandroid.com\/?p=840"},"modified":"2025-07-28T14:23:47","modified_gmt":"2025-07-28T14:23:47","slug":"%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%b8%d1%8f-art-%d0%be%d1%82-dalvik","status":"publish","type":"post","link":"https:\/\/nurlandroid.com\/?p=840","title":{"rendered":"\u041e\u0442\u043b\u0438\u0447\u0438\u044f ART \u043e\u0442 Dalvik"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Dalvik \u0438 ART?<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th>Dalvik<\/th><th>ART (Android Runtime)<\/th><\/tr><\/thead><tbody><tr><td>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f<\/td><td>\u0414\u043e Android 4.4 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e)<\/td><td>\u0421 Android 5.0+ (Lollipop)<\/td><\/tr><tr><td>\u0422\u0438\u043f<\/td><td><strong>\u0418\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 + JIT<\/strong><\/td><td><strong>AOT-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 + JIT (\u043d\u043e\u0432\u044b\u0439)<\/strong><\/td><\/tr><tr><td>\u0426\u0435\u043b\u044c<\/td><td>\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c <code>.dex<\/code>-\u0431\u0430\u0439\u0442\u043a\u043e\u0434<\/td><td>\u0422\u043e\u0436\u0435 <code>.dex<\/code>, \u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">1. \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f: JIT vs AOT<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th>Dalvik<\/th><th>ART<\/th><\/tr><\/thead><tbody><tr><td>JIT (Just-In-Time)<\/td><td>\u0422\u043e\u043b\u044c\u043a\u043e JIT<\/td><td>JIT, \u043d\u043e \u0432 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 AOT<\/td><\/tr><tr><td>AOT (Ahead-Of-Time)<\/td><td>\u041d\u0435\u0442<\/td><td>\u0414\u0430 (\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 <code>.dex<\/code> => <code>.oat<\/code> \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Dalvik: \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u0434 <strong>\u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/strong><\/li>\n\n\n\n<li>ART: <strong>\u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442<\/strong> \u0432 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043e\u0434 => \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u0435\u0435<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th>Dalvik<\/th><th>ART<\/th><\/tr><\/thead><tbody><tr><td>\u0417\u0430\u043f\u0443\u0441\u043a<\/td><td>\u0411\u044b\u0441\u0442\u0440\u0435\u0435 (\u043c\u0435\u043d\u044c\u0448\u0435 apk)<\/td><td>\u041c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 (\u0442.\u043a. AOT \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f)<\/td><\/tr><tr><td>\u0418\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435<\/td><td>\u041c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435<\/td><td>\u0411\u044b\u0441\u0442\u0440\u0435\u0435 (\u0443\u0436\u0435 native \u043a\u043e\u0434)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u041f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c ART:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>.dex<\/code> => <code>.oat<\/code> (native)<\/li>\n\n\n\n<li><code>.oat<\/code> \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 <code>\/data\/dalvik-cache\/<\/code><\/li>\n\n\n\n<li>\u0421 Android 9+ \u2014 <code>dex2oat<\/code> \u0441\u0442\u0430\u043b <strong>\u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c (JIT+Profile Guided)<\/strong><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">3. GC (Garbage Collector)<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th>Dalvik<\/th><th>ART<\/th><\/tr><\/thead><tbody><tr><td>\u0422\u0438\u043f\u044b<\/td><td>Stop-the-world<\/td><td>Concurrent GC, Generational GC, G1GC<\/td><\/tr><tr><td>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f<\/td><td>\u041c\u0430\u043b\u043e<\/td><td>\u041c\u043d\u043e\u0433\u043e (\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0441 Android 8+)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>ART \u0438\u043c\u0435\u0435\u0442 <strong>\u0431\u043e\u043b\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 GC<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e<\/li>\n\n\n\n<li>\u043d\u0435 \u0442\u0430\u043a \u0441\u0438\u043b\u044c\u043d\u043e \u043b\u0430\u0433\u0430\u0435\u0442 UI<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">4. \u041e\u0442\u043b\u0430\u0434\u043a\u0430 \u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ART \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <strong>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/strong> \u0434\u043b\u044f JIT-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438<\/li>\n\n\n\n<li>\u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <strong>JVMTI<\/strong> (debug \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u0430\u043a \u0432 JVM)<\/li>\n\n\n\n<li>\u041b\u0443\u0447\u0448\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 <code>Systrace<\/code>, <code>Perfetto<\/code>, <code>Profile Installer<\/code> \u0438 \u0442.\u0434.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u0413\u0434\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b?<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u0424\u0430\u0439\u043b<\/th><th>Dalvik<\/th><th>ART<\/th><\/tr><\/thead><tbody><tr><td>\u0431\u0430\u0439\u0442\u043a\u043e\u0434<\/td><td><code>.dex<\/code> \u0432\u043d\u0443\u0442\u0440\u0438 <code>.apk<\/code><\/td><td><code>.dex<\/code> \u0432\u043d\u0443\u0442\u0440\u0438 <code>.apk<\/code><\/td><\/tr><tr><td>\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/td><td>JIT-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0432 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0435<\/td><td>AOT-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0432 <code>.oat<\/code> \u0438\u043b\u0438 <code>.vdex<\/code><\/td><\/tr><tr><td>\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f<\/td><td>\u043d\u0435\u0442<\/td><td><code>\/data\/dalvik-cache\/<\/code> \u0438 <code>\/system\/framework\/<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Dalvik \u0438 ART? Dalvik ART (Android Runtime) \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0414\u043e Android 4.4 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u0421 Android 5.0+ (Lollipop) \u0422\u0438\u043f \u0418\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 + JIT AOT-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 + JIT (\u043d\u043e\u0432\u044b\u0439) \u0426\u0435\u043b\u044c \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c .dex-\u0431\u0430\u0439\u0442\u043a\u043e\u0434 \u0422\u043e\u0436\u0435 .dex, \u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435 \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f 1. \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f: JIT vs AOT Dalvik ART JIT (Just-In-Time) \u0422\u043e\u043b\u044c\u043a\u043e JIT JIT, \u043d\u043e \u0432 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 AOT [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-840","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/nurlandroid.com\/index.php?rest_route=\/wp\/v2\/posts\/840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nurlandroid.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nurlandroid.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nurlandroid.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nurlandroid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=840"}],"version-history":[{"count":1,"href":"https:\/\/nurlandroid.com\/index.php?rest_route=\/wp\/v2\/posts\/840\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/nurlandroid.com\/index.php?rest_route=\/wp\/v2\/posts\/840\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/nurlandroid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nurlandroid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nurlandroid.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}