Patent ID: 10754686

Abstract:
The present disclosure relate to a method and an electronic device for application migration. The method includes: in response to a migration request for migrating, from a source machine to a target machine, an application executed at a source processing unit on the source machine, establishing a connection between the source machine and the target machine, the request indicating the application to be migrated, the target machine and a target processing unit to operate the application on the target machine; synchronizing a plurality of threads related to the application executed on the source processing unit; determining a resource descriptor and allocation and use conditions of a memory related to the application at the source processing unit; transmitting, via the connection, the determined resource descriptor and the allocation and use conditions of the memory to the target memory, for migration preparation performed by the target machine; and determining, based on the allocation and use conditions of the memory, the data to be migrated, for migration via the connection to the target machine.