问题
For Android, each application has its own instance of DVM or each activity of an application has its own DVM instance i.e. the instance of DVM is created based on the application or activity?
回答1:
Generally, each process has its own Dalvik VM. Since normally each application runs in a single process, all activities share the Dalvik VM for that process.
There are more complicated scenarios (one app spread across N processes, N apps sharing one process), but those are very unusual in conventional Android application development.
来源:https://stackoverflow.com/questions/16545917/dvm-instance-creation-per-activity-or-application