CN103593300B - Memory allocating and collecting method - Google Patents
Memory allocating and collecting method Download PDFInfo
- Publication number
- CN103593300B CN103593300B CN201310569470.5A CN201310569470A CN103593300B CN 103593300 B CN103593300 B CN 103593300B CN 201310569470 A CN201310569470 A CN 201310569470A CN 103593300 B CN103593300 B CN 103593300B
- Authority
- CN
- China
- Prior art keywords
- memory
- statistical
- recovery
- statistics
- reclaim
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Memory System (AREA)
Abstract
本发明提供一种内存分配回收方法,系统包括分段统计模块(1),控制配置模块(2),选择算法模块(3)三个部分,三个部分协同工作完成系统内存分配和回收,其中:在分段统计模块(1)中,按照分段粒度,对内存统计范围的内存页进行分段统计,对于一段连续的内存页,在统计值更新的时机,分别统计其中页被分配和回收的次数,记为此段内存发生的分配、回收次数,次数值的上限应为系统能够保存的最大整形,统计值在分配或回收统计值被引用作为决策参数后,会被统计清零,该方法是针对当前硬件资源相对充裕,应用程序请求纷繁复杂的特点,提出了新型内存分配回收机制,区别于以往操作系统使用的机制,更加符合现代计算机的特点,也更适用于现代应用程序的行为需求。
The invention provides a method for memory allocation and recovery. The system includes three parts: a segmented statistics module (1), a control configuration module (2), and a selection algorithm module (3). The three parts work together to complete system memory allocation and recovery, wherein : In the segmentation statistics module (1), according to the segmentation granularity, the memory pages in the memory statistics range are segmented and counted. For a continuous memory page, when the statistical value is updated, the pages are allocated and recycled respectively. The number of times, record the allocation and recovery times of this segment of memory. The upper limit of the number of times should be the maximum integer that the system can save. The statistical value will be cleared to zero after the statistical value of allocation or recovery is referenced as a decision parameter. The method is to address the characteristics of relatively abundant hardware resources and complex application requests, and propose a new memory allocation and recovery mechanism, which is different from the mechanism used by the previous operating system, and is more in line with the characteristics of modern computers and more suitable for the behavior of modern applications. need.
Description
技术领域technical field
本发明涉及计算机应用技术领域,具体地说是一种内存分配回收方法。The invention relates to the technical field of computer applications, in particular to a memory allocation and recovery method.
背景技术Background technique
操作系统作为系统核心软件,管理着机器的物理资源,维护它们保持在正常的状态;同时以这些资源响应着用户程序和系统硬件的各种请求。操作系统必须保证这些请求被及时和正确地响应,这样整个系统才能正常地运转。As the core software of the system, the operating system manages the physical resources of the machine and maintains them in a normal state; at the same time, it responds to various requests from user programs and system hardware with these resources. The operating system must ensure that these requests are responded to in a timely and correct manner so that the entire system can function normally.
在操作系统管理的硬件物理资源中,内存是不可或缺的重要组成部分。操作系统需要对所有内存资源进行合理的初始化和管理,处理各种程序的内存使用请求,包括操作系统本身。还需要在程序退出或者不再需要某段内存段时候将内存回收,重新纳入到空闲内存中,以保证接下来的内存使用请求会得到满足。Among the hardware physical resources managed by the operating system, memory is an indispensable and important component. The operating system needs to properly initialize and manage all memory resources, and handle memory usage requests from various programs, including the operating system itself. It is also necessary to reclaim the memory when the program exits or no longer needs a certain memory segment, and reintroduce it into the free memory to ensure that the next memory usage request will be satisfied.
在物理资源还很匮乏的信息技术早期,及时回收和循环使用有限的内存来完成大量的工作是很重要的技术,它扩展了机器的性能,最大限度地挖掘了现有物理资源的潜力,显示了软件的魅力。随着机械材料电子等多项技术的不断进步,现代计算机上的物理资源已经相对充裕,但是仍然需要合理的管理机制来管理这些资源。因为技术进步的同时也带来了信息量的巨大膨胀,现代计算机需要处理的数据的体积和算法的复杂度也呈几何级增长,这对现代计算机上的软件也提出了更高的要求,尤其是操作系统。In the early days of information technology when physical resources were still scarce, it was very important to reclaim and recycle limited memory in time to complete a large amount of work. It expanded the performance of the machine and maximized the potential of existing physical resources, showing that The charm of software. With the continuous advancement of many technologies such as mechanical materials and electronics, the physical resources on modern computers are relatively abundant, but a reasonable management mechanism is still needed to manage these resources. Because technological progress has also brought about a huge expansion of the amount of information, the volume of data that modern computers need to process and the complexity of algorithms have also increased geometrically, which also puts forward higher requirements for the software on modern computers, especially is the operating system.
就内存管理来说,一边是可能的大量的物理资源,一边是大量的复杂的处理请求,在中间需要非常优秀的机制来管理和疏通,保证物理资源的充分利用,保证程序请求的及时满足从而正常运行,进一步在极端压力条件下,能够充分挖掘出硬件的潜力,发挥出应有的性能。内存管理系统中,内存分配回收机制是一个重要的组成部分。其主要运用于处理应用程序和系统程序的内存分配请求,以及随后的内存回收以保证足够的内存满足随后的请求。As far as memory management is concerned, there are a large number of possible physical resources on the one hand, and a large number of complex processing requests on the other. In the middle, a very good mechanism is needed to manage and unblock them, so as to ensure the full utilization of physical resources and the timely satisfaction of program requests. Normal operation, further under extreme pressure conditions, can fully tap the potential of the hardware and play its due performance. In the memory management system, the memory allocation and recovery mechanism is an important part. It is mainly used to handle memory allocation requests of applications and system programs, and subsequent memory recovery to ensure sufficient memory to meet subsequent requests.
现有的操作系统中,内存管理机制大都有着十年以上的历史,由管理相对较少系统内存的算法演变而来,不一定适用于当前的应用硬件场景。本发明针对当前硬件资源相对充裕,应用程序请求纷繁复杂的特点,提出了新型内存分配回收机制,区别于以往操作系统使用的机制,更加符合现代计算机的特点,也更适用于现代应用程序的行为需求。In the existing operating systems, most of the memory management mechanisms have a history of more than ten years, evolved from algorithms that manage relatively small system memory, and may not be applicable to current application hardware scenarios. Aiming at the characteristics of relatively abundant hardware resources and complicated application program requests, the present invention proposes a new memory allocation and recycling mechanism, which is different from the mechanism used by previous operating systems, and is more in line with the characteristics of modern computers and more suitable for the behavior of modern application programs. need.
发明内容Contents of the invention
本发明的目的是提供一种内存分配回收方法。The purpose of the present invention is to provide a memory allocation recovery method.
本发明的目的是按以下方式实现的,系统包括分段统计模块(1),控制配置模块(2),选择算法模块(3)三个部分,三个部分协同工作完成系统内存分配和回收,其中:The purpose of the present invention is achieved in the following manner, the system includes a segmented statistics module (1), a control configuration module (2), three parts of the selection algorithm module (3), and the three parts cooperate to complete system memory distribution and reclaiming, in:
在分段统计模块(1)中,按照分段粒度,对内存统计范围的内存页进行分段统计,对于一段连续的内存页,在统计值更新的时机,分别统计其中页被分配和回收的次数,记为此段内存发生的分配、回收次数,次数值的上限应为系统能够保存的最大整形,统计值在在分配或回收统计值被引用作为决策参数后,会被统计清零,其中:In the segment statistics module (1), segment statistics are performed on the memory pages in the memory statistics range according to the segment granularity. For a continuous segment of memory pages, when the statistical value is updated, statistics are made on which pages are allocated and reclaimed. Number of times, which records the number of allocations and reclaims of this segment of memory. The upper limit of the number of times should be the maximum integer that the system can save. The statistical value will be cleared to zero after the statistical value of allocation or reclaiming is referenced as a decision parameter. :
分段粒度,是指对内存进行分段时,每段内存的大小,单位为物理内存页,最小粒度为1页,最大粒度取决于系统内存大小;Segmentation granularity refers to the size of each segment of memory when segmenting the memory. The unit is a physical memory page. The minimum granularity is 1 page, and the maximum granularity depends on the size of the system memory;
内存统计范围,是进行分段统计的内存范围,并不是系统所有内存都在统计范围,在所有用于分配回收的内存页中,除去操作系统本身和一些库占用的内存页,都应该纳入统计的范围,因为操作系统本身和库占用的内存会一直驻留在内存中,在系统运行的生命周期中会一直被使用,所以不必纳入统计范围进行分配回收控制;The memory statistics range refers to the memory range for segmented statistics. Not all the memory in the system is in the statistics range. Among all the memory pages used for allocation and recovery, excluding the memory pages occupied by the operating system itself and some libraries, they should be included in the statistics. range, because the memory occupied by the operating system itself and the library will always reside in the memory and will be used throughout the life cycle of the system operation, so it does not need to be included in the statistical scope for allocation and recovery control;
统计值更新的时机,是当一段内存中有页被分配或者回收,在接口中对该段内存的统计数据进行更新;The time to update the statistical value is when a page in a segment of memory is allocated or reclaimed, and the statistical data of the segment of memory is updated in the interface;
统计清零,是指分配和回收的统计值的清零,在分配或回收统计值被引用作为决策参数后,将其清零以保证统计数据描述的是最近系统中内存的使用情况,或在控制配置模块(2)中对此进行配置是否进行清零操作,如果不进行清零操作,则统计数据描述的是系统内存使用的历史累计信息;Statistical clearing refers to the clearing of statistical values of allocation and recycling. After the statistical value of allocation or recycling is referenced as a decision parameter, it is cleared to ensure that the statistics describe the recent memory usage in the system, or in Control configuration module (2) configures whether to carry out clearing operation, if not carrying out clearing operation, then what statistical data described is the historical accumulation information of system memory use;
控制配置模块(2),对方法中的属性进行控制,以协同完成整个分配回收方法,这些配置由系统管理员改变,使得本方法更加适用于使用环境,方法中被控制配置的有分段粒度,分配倾向,回收力度,回收倾向,统计清零几个部分,其中:The control configuration module (2) controls the attributes in the method to coordinate the completion of the entire allocation and recovery method. These configurations are changed by the system administrator to make this method more suitable for the use environment. The controlled configuration in the method has a segmented granularity , Distribution Tendency, Recycling Strength, Recycling Tendency, and Statistical Clearing. Among them:
分配倾向,是在分配内存时,对内存段的选择倾向:是否重复使用,如果不重复使用,则每次选择的时候就不会选择已经有分配统计计数的内存段,如果所有统计内存段都已经使用过,则触发统计清零;Allocation tendency refers to the tendency to select memory segments when allocating memory: whether to reuse them, if not to reuse them, each time you select, you will not select memory segments that already have allocation statistics. If all statistical memory segments are If it has already been used, it will trigger statistics clearing;
回收力度,是在回收内存时力度的大小,力度越大,回收程序回收越多的内存;Recycling strength refers to the strength of reclaiming memory, the greater the strength, the more memory the recycling program reclaims;
回收倾向,是在回收内存时,对内存段的选择倾向:最近最少使用、历史最少使用倾向下,回收程序会优先对统计信息中分配计数最少的内存段进行回收操作,这种倾向下需要统计清零;历史最少使用倾向下,回收程序行为一样,只是不进行统计清零;Recycling tendency refers to the tendency to select memory segments when reclaiming memory: under the tendency of least recently used and least used in history, the recycling program will give priority to reclaiming the memory segment with the least allocation count in the statistical information. Statistics are required for this tendency Clear; under the trend of least usage in history, the behavior of the recycling program is the same, but the statistics are not cleared;
选择算法模块(3),选择算法模块包括分配选择算法和回收选择算法,在分配或回收时,分别根据分段统计模块(1)所得的统计信息,选择最佳的内存段,进行实际的内存分配回收,其中:Selection algorithm module (3). The selection algorithm module includes allocation selection algorithm and recovery selection algorithm. When allocation or recovery, the best memory segment is selected according to the statistical information obtained by the segmentation statistics module (1), and the actual memory segment is selected. Allocation recycling, where:
分配选择算法,在选择内存段进行分配操作时,根据统计信息,避开分配回收计数较高的内存段,选择统计计数较低的内存段;结合分配倾向,决定是否重复使用内存段,以选择使用过与否的内存段;Allocation selection algorithm, when selecting a memory segment for allocation operation, according to the statistical information, avoid the memory segment with a higher count of allocation and recovery, and select the memory segment with a lower statistical count; combined with the allocation tendency, decide whether to reuse the memory segment to select Used or not memory segment;
回收选择算法,在选择内存段进行回收操作时,根据统计信息,选择统计计数由小到大的内存段进行回收操作,结合回收力度,如需继续回收则选择统计计数更大的内存段继续回收操作;Recycling selection algorithm. When selecting memory segments for recycling operations, according to statistical information, select memory segments with statistical counts ranging from small to large for recycling operations. Combined with recycling efforts, if you need to continue recycling, select memory segments with larger statistical counts to continue recycling operate;
具体分配回收步骤如下:The specific allocation and recovery steps are as follows:
步骤1:在系统启动初始化阶段,内存初始化时,分段统计模块(1)将系统用于分配回收的内存按照页为单位平均分段,每段大小为8页,系统共分出了512段;Step 1: In the initialization stage of the system, when the memory is initialized, the segmentation statistics module (1) divides the memory used by the system for allocation and recovery into equal segments in units of pages, each segment is 8 pages in size, and the system divides a total of 512 segments ;
步骤2:建立统计数据池,两个最大整形类型的数组,alloc[512]记录每段内存段中发生的分配次数,reclaim[512]记录每段内存中发生的回收次数,初始值均为0;Step 2: Establish a statistical data pool, two arrays of the largest integer type, alloc[512] records the number of allocations that occur in each memory segment, reclaim[512] records the number of reclaims that occur in each memory segment, and the initial value is 0 ;
步骤3:在系统启动运行的过程中,每次内存分配回收发生,都更新alloc和reclaim数组;Step 3: During the startup and operation of the system, each time the memory allocation and recovery occurs, the alloc and reclaim arrays are updated;
步骤4:读取配置,统计数据需要清零,分配倾向为不重复使用,回收力度大,回收倾向相应则为最近最少使用,控制配置允许随时由系统管理员修改;Step 4: Read the configuration, the statistical data needs to be cleared, the allocation tendency is not reused, the recovery is strong, and the corresponding recycling tendency is the least recently used, and the control configuration is allowed to be modified by the system administrator at any time;
步骤5:系统运行起来之后,对系统进程和应用进程分配内存的请求,控制配置模块(2)根据配置控制的内容,查看alloc和reclaim数组的值,在能够分配的内存段(alloc[i]==reclaim[i])中,找到还没有分配过的内存,即alloc[i]==0对应的内存段进行具体的分配动作;Step 5: After the system is running, the memory allocation request for the system process and the application process is controlled by the configuration module (2) Check the values of the alloc and reclaim arrays according to the content of the configuration control, and in the memory segment that can be allocated (alloc[i] ==reclaim[i]), find the memory that has not been allocated, that is, the memory segment corresponding to alloc[i]==0, and perform specific allocation actions;
步骤6:如在该段内存分配成功,选择算法模块(3)更新alloc数组,在相应段的计数加1;Step 6: If the memory allocation in this segment is successful, select the algorithm module (3) to update the alloc array, and add 1 to the count in the corresponding segment;
步骤7:根据配置控制,回收力度为大,选择算法模块(3)会在适当的时机启动,根据配置,查看alloc和reclaim数组的值,在能够进行回收的段(alloc[i]>reclaim[i])中,寻找alloc[i]值较小的对应段进行具体的回收操作;Step 7: According to the configuration control, the recovery intensity is high, and the selection algorithm module (3) will start at an appropriate time. According to the configuration, check the values of the alloc and reclaim arrays, and in the segment that can be recycled (alloc[i]>reclaim[ i]), look for the corresponding segment with a smaller value of alloc[i] to perform specific recovery operations;
步骤8:如在该段内存回收成功,更新reclaim数组;Step 8: If the memory in this segment is recovered successfully, update the reclaim array;
步骤9:在所有内存段都使用过之后,或清零时间间隔值到达时,对alloc和reclaim数组进行清零操作;Step 9: After all memory segments have been used, or when the clearing time interval value arrives, clear the alloc and reclaim arrays;
步骤10:系统关机时,当关机进程退出后,释放占用的系统资源。Step 10: When the system is shut down, after the shutdown process exits, the occupied system resources are released.
本发明的有益效果是:本发明针对当前硬件资源相对充裕,应用程序请求纷繁复杂的特点,提出了新型内存分配回收机制,区别于以往操作系统使用的机制,更加符合现代计算机的特点,也更适用于现代应用程序的行为需求。The beneficial effects of the present invention are: the present invention proposes a new type of memory allocation and recovery mechanism, which is different from the mechanism used by previous operating systems, and is more in line with the characteristics of modern computers and more For the behavioral needs of modern applications.
附图说明Description of drawings
图1为分段统计结构示意图;Figure 1 is a schematic diagram of the segmented statistical structure;
图2为所实现机制的运行示意图。Figure 2 is a schematic diagram of the operation of the implemented mechanism.
具体实施方式detailed description
参照说明书附图对本发明的方法作以下详细地说明。The method of the present invention is described in detail below with reference to the accompanying drawings.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
参照附图,接下来对本发明的内容以一个具体实例来描述实现这一机制的过程。Referring to the accompanying drawings, a specific example will be used to describe the process of realizing this mechanism for the content of the present invention.
正如发明内容中所描述的,本发明体系结构主要包括:分段统计模块,配置控制模块和选择算法模块,具体分配回收步骤如下:As described in the summary of the invention, the system structure of the present invention mainly includes: a segmentation statistics module, a configuration control module and a selection algorithm module, and the specific allocation and recovery steps are as follows:
步骤1:在系统启动初始化阶段,内存初始化时,分段统计模块(1)将系统用于分配回收的内存按照页为单位平均分段,每段大小为8页,系统共分出了512段;Step 1: In the initialization stage of the system, when the memory is initialized, the segmentation statistics module (1) divides the memory used by the system for allocation and recovery into equal segments in units of pages, each segment is 8 pages in size, and the system divides a total of 512 segments ;
步骤2:建立统计数据池,两个最大整形类型的数组,alloc[512]记录每段内存段中发生的分配次数,reclaim[512]记录每段内存中发生的回收次数,初始值均为0;Step 2: Establish a statistical data pool, two arrays of the largest integer type, alloc[512] records the number of allocations that occur in each memory segment, reclaim[512] records the number of reclaims that occur in each memory segment, and the initial value is 0 ;
步骤3:在系统启动运行的过程中,每次内存分配回收发生,都更新alloc和reclaim数组;Step 3: During the startup and operation of the system, each time the memory allocation and recovery occurs, the alloc and reclaim arrays are updated;
步骤4:读取配置,统计数据需要清零,分配倾向为不重复使用,回收力度大,回收倾向相应则为最近最少使用,控制配置允许随时由系统管理员修改;Step 4: Read the configuration, the statistical data needs to be cleared, the allocation tendency is not reused, the recovery is strong, and the corresponding recycling tendency is the least recently used, and the control configuration is allowed to be modified by the system administrator at any time;
步骤5:系统运行起来之后,对系统进程和应用进程分配内存的请求,控制配置模块(2)根据配置控制的内容,查看alloc和reclaim数组的值,在能够分配的内存段(alloc[i]==reclaim[i])中,找到还没有分配过的内存,即alloc[i]==0对应的内存段进行具体的分配动作;Step 5: After the system is running, the memory allocation request for the system process and the application process is controlled by the configuration module (2) Check the values of the alloc and reclaim arrays according to the content of the configuration control, and in the memory segment that can be allocated (alloc[i] ==reclaim[i]), find the memory that has not been allocated, that is, the memory segment corresponding to alloc[i]==0, and perform specific allocation actions;
步骤6:如在该段内存分配成功,选择算法模块(3)更新alloc数组,在相应段的计数加1;Step 6: If the memory allocation in this segment is successful, select the algorithm module (3) to update the alloc array, and add 1 to the count in the corresponding segment;
步骤7:根据配置控制,回收力度为大,选择算法模块(3)会在适当的时机启动,根据配置,查看alloc和reclaim数组的值,在能够进行回收的段(alloc[i]>reclaim[i])中,寻找alloc[i]值较小的对应段进行具体的回收操作;Step 7: According to the configuration control, the recovery intensity is high, and the selection algorithm module (3) will start at an appropriate time. According to the configuration, check the values of the alloc and reclaim arrays, and in the segment that can be recycled (alloc[i]>reclaim[ i]), look for the corresponding segment with a smaller value of alloc[i] to perform specific recovery operations;
步骤8:如在该段内存回收成功,更新reclaim数组;Step 8: If the memory in this segment is recovered successfully, update the reclaim array;
步骤9:在所有内存段都使用过之后,或清零时间间隔值到达时,对alloc和reclaim数组进行清零操作;Step 9: After all memory segments have been used, or when the clearing time interval value arrives, clear the alloc and reclaim arrays;
步骤10:系统关机时,当关机进程退出后,释放占用的系统资源。Step 10: When the system is shut down, after the shutdown process exits, the occupied system resources are released.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
除说明书所述的技术特征外,均为本专业技术人员的已知技术。Except for the technical features described in the instructions, all are known technologies by those skilled in the art.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310569470.5A CN103593300B (en) | 2013-11-15 | 2013-11-15 | Memory allocating and collecting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310569470.5A CN103593300B (en) | 2013-11-15 | 2013-11-15 | Memory allocating and collecting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103593300A CN103593300A (en) | 2014-02-19 |
CN103593300B true CN103593300B (en) | 2017-05-03 |
Family
ID=50083451
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310569470.5A Active CN103593300B (en) | 2013-11-15 | 2013-11-15 | Memory allocating and collecting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103593300B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153481B (en) * | 2016-12-05 | 2021-08-03 | 北京兆易创新科技股份有限公司 | NAND storage block recovery method and device |
CN107179949B (en) * | 2016-12-16 | 2020-11-24 | 重庆大学 | A quantification method for operating system memory allocation fluency in mobile devices |
CN110209489B (en) * | 2018-02-28 | 2020-07-31 | 贵州白山云科技股份有限公司 | Memory management method and device suitable for memory page structure |
CN110908923B (en) * | 2018-09-14 | 2023-05-02 | 阿里巴巴集团控股有限公司 | Memory recycling method and device |
CN112016693B (en) * | 2019-05-30 | 2021-06-04 | 中兴通讯股份有限公司 | Machine learning engine implementation method and device, terminal equipment and storage medium |
CN110764906B (en) * | 2019-09-27 | 2022-06-17 | Oppo(重庆)智能科技有限公司 | Memory recovery processing method and device, electronic equipment and storage medium |
CN117687932B (en) * | 2023-08-31 | 2024-10-22 | 荣耀终端有限公司 | Memory allocation method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6366996B1 (en) * | 2000-01-24 | 2002-04-02 | Pmc-Sierra, Inc. | Page memory management in non time critical data buffering applications |
US6681306B1 (en) * | 1999-11-29 | 2004-01-20 | Sun Microsystems, Inc. | Method and apparatus for increasing scavenging garbage collection effectiveness |
CN101169759A (en) * | 2007-11-08 | 2008-04-30 | Ut斯达康通讯有限公司 | Memory management method for application program |
CN101231619A (en) * | 2008-02-22 | 2008-07-30 | 浙江大学 | A Dynamic Memory Management Method Based on Discontinuous Pages |
CN102866953A (en) * | 2011-07-08 | 2013-01-09 | 风网科技(北京)有限公司 | Storage management system and storage management method thereof |
-
2013
- 2013-11-15 CN CN201310569470.5A patent/CN103593300B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6681306B1 (en) * | 1999-11-29 | 2004-01-20 | Sun Microsystems, Inc. | Method and apparatus for increasing scavenging garbage collection effectiveness |
US6366996B1 (en) * | 2000-01-24 | 2002-04-02 | Pmc-Sierra, Inc. | Page memory management in non time critical data buffering applications |
CN101169759A (en) * | 2007-11-08 | 2008-04-30 | Ut斯达康通讯有限公司 | Memory management method for application program |
CN101231619A (en) * | 2008-02-22 | 2008-07-30 | 浙江大学 | A Dynamic Memory Management Method Based on Discontinuous Pages |
CN102866953A (en) * | 2011-07-08 | 2013-01-09 | 风网科技(北京)有限公司 | Storage management system and storage management method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103593300A (en) | 2014-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103593300B (en) | Memory allocating and collecting method | |
CN101221536B (en) | Internal memory managing method and device of embedded system | |
CN103019948B (en) | The swap file using sequence continuously is operated the method and system of set exchange | |
CN103336744B (en) | Garbage collection method and system for solid-state storage device | |
US6493730B1 (en) | Efficient object faulting with generational garbage collection | |
CN106484323A (en) | A kind of loss equalizing method of solid-state storage and system | |
CN105446814A (en) | Cache recovery method and device | |
CN107665098B (en) | Information processing method, storage device, and computer storage medium | |
EP3304317B1 (en) | Method and apparatus for managing memory | |
EP3537281A1 (en) | Storage controller and io request processing method | |
CN106550014A (en) | Node upgrade method and device in server cluster | |
CN103678337A (en) | Data eliminating method, device and system | |
CN104391745A (en) | Extensible object life cycle management method | |
CN103488577A (en) | Method and device of memory allocation and batch recovery for user applications based on use numbering | |
CN101894049A (en) | System and method for recycling garbage object in self-adaptive way | |
CN111858474B (en) | Distributed storage system Inode number allocation management method and related components | |
CN109189739B (en) | Cache space recovery method and device | |
CN110109677B (en) | Dynamic object cache pool allocation method | |
CN104731634B (en) | A kind of implementation method of the distributed computing framework of real-time online | |
CN102270134B (en) | Method and device for recycling garbage in Java card | |
CN114115744B (en) | Data recovery task control method, device, electronic device and storage medium | |
CN107729182B (en) | Data storage and access method and device | |
CN111984196B (en) | File migration method, device, equipment and readable storage medium | |
US11341055B2 (en) | Method, electronic device, and computer program product for storage management | |
CN106293939B (en) | A Method for Dynamically Reusing Objects in Memory Garbage Collector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |