Thread classification suspension
First Claim
Patent Images
1. A computer-implemented method for managing memory, the computer-implemented method comprising:
- monitoring memory usage while running a plurality of applications and each individual application of the plurality of the applications comprised of a plurality of active threads;
receiving a notice of a shortage of real memory while running the plurality of applications;
establishing a global hierarchy of thread classifications for the plurality of active threads of the each individual application and a default thread classification for any process not classified by an application running on a computer;
responsive to receiving the notice, comparing, for each active thread of the plurality of applications, a thread classification of the plurality of active threads to the global hierarchy of thread classifications, wherein the global hierarchy of thread classifications defines a relative importance of each thread classification based on a classification of a process currently being performed by each active thread of the each individual application, an identification of a user performing the process and process executables, to identify a selected thread to affect, wherein the classification of the process is determined by the each individual application comprising the active threads;
determining an action to take for the selected thread to form a determined action; and
performing the determined action for the selected thread.
1 Assignment
0 Petitions
Accused Products
Abstract
The exemplary embodiments provide a computer-implemented method, apparatus, and computer-usable program code for managing memory. A notice of a shortage of real memory is received. For each active thread, the thread classification of the active thread is compared to a global hierarchy of thread classifications to determine a thread to affect. The global hierarchy of thread classifications defines the relative importance of each thread classification. An action to take for the determined thread is determined. The determined action is performed for the determined thread.
17 Citations
21 Claims
-
1. A computer-implemented method for managing memory, the computer-implemented method comprising:
-
monitoring memory usage while running a plurality of applications and each individual application of the plurality of the applications comprised of a plurality of active threads; receiving a notice of a shortage of real memory while running the plurality of applications; establishing a global hierarchy of thread classifications for the plurality of active threads of the each individual application and a default thread classification for any process not classified by an application running on a computer; responsive to receiving the notice, comparing, for each active thread of the plurality of applications, a thread classification of the plurality of active threads to the global hierarchy of thread classifications, wherein the global hierarchy of thread classifications defines a relative importance of each thread classification based on a classification of a process currently being performed by each active thread of the each individual application, an identification of a user performing the process and process executables, to identify a selected thread to affect, wherein the classification of the process is determined by the each individual application comprising the active threads; determining an action to take for the selected thread to form a determined action; and performing the determined action for the selected thread. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product comprising:
-
a computer-readable storage device storing computer-usable program code for managing memory, the computer program product comprising; computer-usable program code for monitoring memory usage while running a plurality of applications and each individual application of the plurality of applications comprised of a plurality of active threads; computer-usable program code for receiving a notice of a shortage of real memory while running the plurality of applications; computer-usable program code for establishing a global hierarchy of thread classifications for the plurality of applications of the each individual application and a default thread classification for any process not classified by an application running on a computer; computer-usable program code, responsive to receiving the notice, for comparing, for each active thread of the plurality of applications, a thread classification of the plurality of active threads to the global hierarchy of thread classifications, wherein the global hierarchy of thread classifications defines a relative importance of each thread classification based on a classification of a process currently being performed by each active thread of the each individual application, an identification of a user performing the process and process executables, to identify a selected thread to affect, wherein the classification of the process is determined by the each individual application comprising the active threads; computer-usable program code for determining an action to take for the selected thread to form a determined action; and computer-usable program code for performing the determined action for the selected thread. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A data processing system for managing memory, the data processing system comprising:
-
a bus; a communications unit connected to the bus; a storage device connected to the bus, wherein the storage device includes computer-usable program code; and a processor unit connected to the bus, wherein the processor unit executes the computer-usable program code to monitor memory usage while running a plurality of applications and each individual application of the plurality of applications comprised of a plurality of active threads; receive a notice of a shortage of real memory while running the plurality of applications; establish a global hierarchy of thread classifications for the plurality of active threads of the each individual application and a default thread classification for any process not classified by an application running on a computer; responsive to receiving the notice, compare, for each active thread of the plurality of applications, a thread classification of the plurality of active threads to the global hierarchy of thread classifications, wherein the global hierarchy of thread classifications defines a relative importance of each thread classification based on a classification of a process currently being performed by each active thread of the each individual application, an identification of a user performing the process and process executables, to identify a selected thread to affect, wherein the classification of the process is determined by the each individual application comprising the active threads; determine an action to take for the selected thread to form a determined action; and perform the determined action for the selected thread. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification