Eclipse 3.1 - Plan item

Generic Cache Management Support

This document outlines a proposal for a generic cache managemen facility for Eclipse Platform.

Last Modified: August 12th, 2004

Motivation

The memory footprint of Eclipse based applications can be large.

Tools build using Eclipse often cache data in memory to improve performance. Most tools will lazily load information from disk to improve startup time and ensure that memory is not used until required. However, there is often no stratgey in place to free up this memory if it is used infrequently by the user.

Another aspect of this problem involves tools that access remote data. Caching data from a remote source may involve two stages where the data is cached on the local disk and in-memory. However, the local disk caching may only be to persist the remote state accross restart and the in-memory data may not be freed once loaded.

Requirements

Caching is used for several purposes. Here is a list of the types of situations that require caches

There are several characteristics to consider for the data being cached:

 

 

Proposed Solution

CacheManager

Cache

Retention Policy

Persistence Policy