Method and apparatus for compiling optimization using activation recalculation
US-2024303054-A1 · Sep 12, 2024 · US
US9417973B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9417973-B2 |
| Application number | US-201313737303-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 9, 2013 |
| Priority date | Jan 9, 2012 |
| Publication date | Aug 16, 2016 |
| Grant date | Aug 16, 2016 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
An apparatus and a method for fault recovery are provided. The fault recovery apparatus includes a log manager configured to record system resource allocation information about a thread. The fault recovery apparatus further includes a recovery manager configured to create a recovery thread that substitutes for a target thread where a fault has occurred. The fault recovery apparatus further includes a resource manager configured to map a system resource that the target thread has used to the recovery thread based on referencing to the system resource allocation information.
Opening claim text (preview).
What is claimed is: 1. A fault recovery apparatus including a processor and comprising: a log manager configured to record system resource allocation information about a thread based on a system call wrapper library; a recovery manager configured to create a recovery thread that substitutes for a target thread where a fault has occurred and, set execution context of the recovery thread by recording information for recovery to an environmental variable storage area of the recovery thread such that the recovery thread replays operation of the target thread; and a resource manager configured to map a system resource that the target thread has used to the recovery thread based on referencing to the system resource allocation information, wherein the log manager records the system resource allocation information based on a system call wrapper library. 2. The fault recovery apparatus of claim 1 , wherein the recovery thread replays operation of the target thread while using the system resource that the target thread has used based on the referencing to the system resource allocation information. 3. The fault recovery apparatus of claim 1 , wherein the log manager creates a tuple comprising system call request information of a thread and a response to the system call request, and records the tuple in each entry of a predetermined log table. 4. The fault recovery apparatus of claim 1 , wherein the log manager is on a kernel level that provides an execution environment of a task comprising the target thread. 5. The fault recovery apparatus of claim 1 , wherein the log manager deletes unnecessary system resource allocation information based on a state type of a task comprising the target thread. 6. The fault recovery apparatus of claim 1 , wherein the recovery manager maintains the system resource that the target thread has used, without releasing the system resource. 7. The fault recovery apparatus of claim 1 , wherein the recovery manager is included in a task comprising the target thread. 8. The fault recovery apparatus of claim 7 , further comprising a recovery thread protector configured to protect the recovery manager from the fault of the target thread based on an address space identifier (ASID). 9. The fault recovery apparatus of claim 1 , wherein the recovery manager is on a loader that creates a task comprising the target thread. 10. The fault recovery apparatus of claim 1 , wherein in response to receiving a system resource allocation request from the recovery thread, the resource manager returns the system resource that the target thread has used to the recovery thread based on the referencing to the system resource allocation information. 11. The fault recovery apparatus of claim 1 , wherein the resource manager is included in a system call interface of a task comprising the target thread. 12. The fault recovery apparatus of claim 1 , further comprising an inter-process communication (IPC) manager configured to provide an IPC message related to the target thread, to the recovery thread. 13. The fault recovery apparatus of claim 12 , wherein the IPC manager changes an IPC endpoint of the target thread such that the IPC endpoint indicates the recovery thread. 14. The fault recovery apparatus of claim 12 , wherein the IPC manager retransmits an IPC message of a client task to the recovery thread. 15. The fault recovery apparatus of claim 12 , wherein the IPC manager is on a kernel level that provides an execution environment of a task comprising the target thread. 16. A fault recovery method comprising: recording system resource allocation information about a thread based on a system call wrapper library; creating a recovery thread that substitutes for a target thread where a fault has occurred; setting execution context of the recovery thread by recording information for recovery to an environmental variable storage area of the recovery thread such that the recovery thread replays operation of the target thread; and mapping a system resource that the target thread has used to the recovery thread based on referencing to the system resource allocation information. 17. The fault recovery method of claim 16 , further comprising providing an inter-process communication (IPC) message related to the target thread to the recovery thread. 18. A fault recovery apparatus including a processor and comprising: a log manager configured to record system resource allocation information about a thread based on a system call wrapper library; a recovery thread generator configured to generate a recovery thread related to a faulty target thread and, set execution context of the recovery thread by recording information for recovery to an environmental variable storage area of the recovery thread such that the recovery thread replays operation of the target thread; and a recovery controller configured to provide a system resource of the faulty target thread to the recovery thread based on recorded system resource information of the faulty target thread. 19. The fault recovery apparatus of claim 18 , wherein the recovery controller is further configured to change an inter-process communication (IPC) endpoint that indicates the target thread to indicate the recovery thread. 20. The fault recover apparatus of claim 18 , wherein the recovery controller is further configured to provide an inter-process communication (IPC) message of the target thread to the recovery thread.
using middleware or operating system [OS] functionalities · CPC title
involving logging of persistent data for recovery · CPC title
Responding to the occurrence of a fault, e.g. fault tolerance · CPC title
Microcontrol or microprogram arrangements · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.