Methods and apparatus to manage a cache memory
First Claim
Patent Images
1. A method of managing a cache comprising:
- identifying program states associated with an executing program;
comparing a time of first discovery of a program state to a most recent time of first discovery to determine if the program state is associated with short-lived objects; and
if the program state is not associated with short-lived objects and program execution has transitioned to the program state from a program state associated with short-lived objects, flushing the cache of at least one short-lived object.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus to manage a cache memory. An example method of managing a cache comprises identifying program states associated with an executing program; comparing a time of first discovery of a program state to a most recent time of first discovery to determine if the program state is associated with short-lived objects; and if the program state is associated with short-lived objects and program execution is transitioning to a program state associated with long-lived objects, flushing the cache of data associated with the program state.
24 Citations
46 Claims
-
1. A method of managing a cache comprising:
-
identifying program states associated with an executing program; comparing a time of first discovery of a program state to a most recent time of first discovery to determine if the program state is associated with short-lived objects; and if the program state is not associated with short-lived objects and program execution has transitioned to the program state from a program state associated with short-lived objects, flushing the cache of at least one short-lived object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An article of manufacture storing machine readable instructions which, when executed, cause a machine to:
-
identify program states associated with an executing program; compare a time of first discovery of a program state to a most recent time of first discovery to determine if the program state is associated with short-lived objects in a cache; and to flush the cache of at least one short-lived object if the program state is not associated with short-lived objects and program execution has transitioned to the program state from a program state associated with short-lived objects. - View Dependent Claims (14, 15, 16, 17)
-
-
18. An apparatus to manage a cache comprising:
-
a trace sampler to develop a trace of a program; a state identifier to identify program states from the trace; and a short-lived object identifier to identify program states associated with short-lived objects based on the times of first discovery of the program states. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A method of managing a cache comprising:
-
identifying program states associated with an executing program; and if an age of a current program state is less than a first threshold and an age of a previous program state is greater than a second threshold, pre-fetching memory objects associated with program states having an age less than a third threshold. - View Dependent Claims (34, 35, 36, 37, 38)
-
-
39. A method of managing a cache comprising:
-
identifying program states associated with an executing program; and if a first discovery time of a current program state is less than a first threshold and a first discovery time of a previous program state is greater than a second threshold, pre-fetching memory objects associated with program states having a first discovery time less than a third threshold. - View Dependent Claims (40, 41, 42, 43, 44)
-
-
45. An apparatus comprising:
-
an off-chip cache; a trace sampler to develop a trace of a program; a state identifier to identify program states from the trace; and a short-lived object identifier to identify program states associated with short-lived objects based on the times of first discovery of the program states. - View Dependent Claims (46)
-
Specification