摘要 |
Methods and apparatus are disclosed 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.
|