Runtime virtualization method and apparatus, and runtime virtual machine system
AssigneeJingdong Technology Information Technology Co., Ltd.
InventorXiangbin MENG
Life of this patent
Estimating the term…
Loading patent…
AssigneeJingdong Technology Information Technology Co., Ltd.
InventorXiangbin MENG
Estimating the term…
The disclosure provides a runtime virtualization method and apparatus. A specific implementation of the method comprises: constructing a dynamic runtime library based on a native runtime library of an application program, the dynamic runtime library simulating a thread implemented in the native runtime library in a co-routine manner; loading the dynamic runtime library when starting the application program, and generating a runtime virtualization environment and a co-routine scheduling thread running in the runtime virtualization environment, the co-routine scheduling thread being used to schedule a co-routine, and the runtime virtualization environment being an environment after a runtime environment generated by the native runtime library is replaced; receiving a task request of the application program in the runtime virtualization environment; and scheduling the co-routine using the co-routine scheduling thread based on the task request and the dynamic runtime library, so that the co-routine completes a task corresponding to the task request.
A method of runtime virtualization, comprising:
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
A runtime virtual machine system, comprising:
An electronic device, comprising:
Dependencies are inferred from the claim text.