Patent ID: 11899546
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A system for improving portability of checkpoints of an application, the system comprising:
a source computing system comprising:
a source memory, and
a source processor;

wherein the source memory stores instructions that, when executed by the source processor, causes the source computing system to:
cause a first execution of an application, wherein the application includes a function associated with a plurality of implementations;
receive a request to resolve an implementation decision for the function during the first execution, wherein resolving the implementation decision comprises selecting an implementation among the plurality of implementations;
determine, based on a query of a central processing unit (CPU) associated with the source computing system, a set of source CPU-specific features associated with the source computing system;
select, based on the set of source CPU-specific features, a source-specific implementation of the plurality of implementations for the first execution of the function;
patch, by rendering a resolved callsite table, a call site associated with the function with an address of the source-specific implementation;
send, to a destination computing system, a checkpoint of the application, wherein the checkpoint includes the resolved callsite table; and
cause, during a restoration of the application, based on a set of destination CPU-specific features associated with the destination computing system, the destination computing system to change the implementation decision.