Cluster fine-grained memory management method
A memory management, fine-grained technology, applied in resource allocation, multi-program device, input/output to record carrier, etc., can solve the problems of space waste, large gap, affecting memory allocation and recovery efficiency, etc., and achieve memory utilization high effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0060] The present invention will be further described below in conjunction with specific drawings and embodiments.
[0061] The present invention mainly divides the memory into two types of areas: the first type is the global shared area, which is mainly responsible for the allocation and recovery of large objects (size greater than or equal to 32KB); (less than 32KB in size) allocations can be satisfied directly from the thread-local cache. Memory is migrated from the global shared area to the thread-local cache as needed, and periodic garbage collections are used to migrate memory from the thread-local cache back to the global shared area. The relationship between the two is as figure 1 shown.
[0062] The following highlights: the structure of the thread local cache, the structure of the global shared area, and the process of object allocation and release.
[0063] 1. The structure of the thread local cache, such as figure 2 shown.
[0064] Although an application pr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 