摘要 |
The disclosure defined by the invention described a stack caching system with a swapping mechanism for reducing software resource. The stack caching system utilizes a swap memory with higher access speed to increase the performance of the stack caching system. The stack caching system moves at least one first stack block which is the most frequently accessed stack block by the system from a first memory to the swap memory. Then, the stack caching system controls a pointer originally pointing to the first stack block to point to a corresponding address in the second memory. When the stack caching system accesses the first stack block, the stack caching system is directed to the second memory to access the first stack block.
|