FAST RESOURCE RECOVERY AFTER THREAD CRASH
First Claim
Patent Images
1. A method implemented by a resource recovery system, the method comprising:
- maintaining a counter in memory that indicates a number of times one or more threads have crashed;
determining, by the resource recovery system, whether at least one of the one or more threads has crashed; and
using, based on the determination, the counter to determine whether to re-allocate resources to the one or more threads for thread crash recovery.
1 Assignment
0 Petitions
Accused Products
Abstract
A resource recovery system may maintain a counter in memory that indicates a number of times one or more threads of execution, which use shared resources, have crashed. The system may associate a first value of the counter with a resource allocated to a thread of the one or more threads, and may set an indicator associated with the thread to indicate whether the thread has crashed. The system may determine whether to re-allocate the resource to the thread based on the first value of the counter associated with the resource and based on the indicator associated with the thread.
-
Citations
21 Claims
-
1. A method implemented by a resource recovery system, the method comprising:
-
maintaining a counter in memory that indicates a number of times one or more threads have crashed; determining, by the resource recovery system, whether at least one of the one or more threads has crashed; and using, based on the determination, the counter to determine whether to re-allocate resources to the one or more threads for thread crash recovery. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A resource recovery system, comprising:
-
a memory storing a data array; a thread crash counter to maintain a count of a number of times one or more threads of execution have crashed; and a resource recovery management unit to; determine whether at least one of the one or more threads has crashed, and use the counter to determine whether to perform a resource recovery process when at least one of the one or more threads has crashed. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A method implemented by a resource recovery system, comprising:
-
maintaining a counter in memory that indicates a number of times one or more threads of execution, which use shared resources, have crashed; associating, by the resource recovery system, a first value of the counter with a resource allocated to a thread of the one or more threads; setting an indicator associated with the thread to indicate whether the thread has crashed; and determining whether to re-allocate the resource to the thread based on the first value of the counter associated with the resource and based on the indicator associated with the thread. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A system, comprising:
-
a thread crash counter that indicates a number of times one or more threads, which use shared resources, have crashed; and a resource recovery management unit to; obtain a first value of the counter, associate the first value of the counter with a resource allocated to a thread of the one or more threads, set an indicator associated with the thread to indicate whether the thread has crashed, obtain a second value of the counter, where the second value of the counter is obtained at a different time than the first value of the counter is obtained, determine if the second value of the counter is greater than the first value of the counter, determine if the indicator associated with the thread indicates that the thread has crashed, and re-allocate the resource to the thread if the second value of the counter is greater than the first value of the counter and if the indicator indicates that the thread has crashed. - View Dependent Claims (18, 19, 20)
-
-
21. A resource recovery system, comprising:
-
means for maintaining a counter that indicates a number of times one or more threads, which use shared resources, have crashed; means for obtaining a first value of the counter when a resource of the shared resources is initially allocated to a thread of the one or more threads; means for associating the first value of the counter with the resource; means for setting an indicator associated with the thread to indicate whether the thread has crashed; and means for determining whether to re-allocate the resource to the thread based on the first value of the counter associated with the resource and based on the indicator associated with the thread.
-
Specification