Câu hỏi phỏng vấn Android
Câu hỏi

Is a Dalvik virtual machine inst...

Câu trả lời

Yes, a Dalvik virtual machine instance is created for each Android application[1][2][3]. Every Android application runs in its own process, with its own instance of the Dalvik virtual machine[1][2].

The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint[1]. It is a register-based VM that runs classes compiled by a Java language compiler that have been transformed into the .dex format[1].

Each process on Android has its own instance of the Dalvik VM, which is created along with the process, and destroyed during process termination[2]. The Zygote process forks to create new app processes, which share a copy of the DVM initialized by Zygote to avoid duplicate pages in memo...

senior

senior

Gợi ý câu hỏi phỏng vấn

senior

How to avoid reverse engineering of an APK file?

expert

What is the difference between Local , Normal , Ordered and Sticky broadcasts?

expert

What is the relationship between Looper , Handler and MessageQueue in Android?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào