Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

148 results about "Memory reclamation" patented technology

System and method for memory reclamation

A method for memory reclamation is disclosed that includes marking a memory object when an attempt to alter a reference to the memory object is detected by a software write barrier. Marking be by using representations (“black,”“white”, “gray”) stored as part of a garbage collection information data structure associated with each memory object. Initially, all allocated memory objects are marked white. Objects are then processed such that objects referenced by pointers are marked gray. Each object marked gray is then processed to determine objects referenced by pointers in it, and such objects are marked gray. When all objects referenced by pointers in the selected gray objected have been processed, the selected gray object is marked black. When all processing has been completed, objects still marked white may be reclaimed. Also described is a garbage collector which runs as a task concurrently with other tasks. A priority of the garbage collector may be increased to prevent interruption during certain parts of the garbage collection procedure.
Owner:WIND RIVER SYSTEMS

Method for efficient implementation of dynamic lock-free data structures with safe memory reclamation

A method for safe memory reclamation for dynamic lock-free data structures employs a plurality of shared pointers, called hazard pointers, that are associated with each participating thread. Hazard pointers either have null values or point to nodes that may potentially be accessed by a thread without further verification of the validity of the local references used in their access. Each hazard pointer can be written only by its associated thread, but can be read by all threads. The method requires target lock-free algorithms to guarantee that no thread can access a dynamic node at a time when it is possibly unsafe (i.e., removed from the data structure), unless one or more of its associated hazard pointers has been pointing to the node continuously, from a time when it was not removed.
Owner:IBM CORP

Memory recovery method and device

The invention relates to the technical field of computers, and in particular relates to a memory recovery method and device, used for solving the problem that the application jamming problem is easily caused due to the fact that memory recovery is not in time. The memory recovery method provided by the invention comprises the following steps of: monitoring operation and use information of applications installed in a terminal by users and memory usage information; and determining that a memory recovery condition is satisfied currently according to at least one of the operation and use information of the applications installed in the terminal by users and the memory usage information, determining the application, the memory of which is to be recovered, in currently operated applications of the terminal according to the operation and use information of the currently operated applications in the terminal and the memory usage information, and performing memory recovery by invoking a memory recovery interface provided by a kernel mode.
Owner:HUAWEI TECH CO LTD

Non-blocking memory management mechanism for supporting dynamic-sized data structures

Solutions to a value recycling problem that we define herein facilitate implementations of computer programs that may execute as multithreaded computations in multiprocessor computers, as well as implementations of related shared data structures. Some exploitations of the techniques described herein allow non-blocking, shared data structures to be implemented using standard dynamic allocation mechanisms (such as malloc and free). Indeed, we present several exemplary realizations of dynamic-sized, non-blocking shared data structures that are not prevented from future memory reclamation by thread failures and which depend (in some implementations) only on widely-available hardware support for synchronization. Some exploitations of the techniques described herein allow non-blocking, indeed even lock-free or wait-free, implementations of dynamic storage allocation for shared data structures. A class of general solutions to value recycling is described in the context of an illustration we call the Repeat Offender Problem (ROP), including illustrative Application Program Interfaces (APIs) defined in terms of the ROP terminology. Furthermore, specific solutions, implementations and algorithm, including a Pass-The-Buck (PTB) implementation are described.
Owner:ORACLE INT CORP

Space- and time-adaptive nonblocking algorithms

We explore techniques for designing nonblocking algorithms that do not require advance knowledge of the number of processes that participate, whose time complexity and space consumption both adapt to various measures, rather than being based on predefined worst-case scenarios, and that cannot be prevented from future memory reclamation by process failures. These techniques can be implemented using widely available hardware synchronization primitives. We present our techniques in the context of solutions to the well-known Collect problem. We also explain how our techniques can be exploited to achieve other results with similar properties; these include long-lived renaming and dynamic memory management for nonblocking data structures.
Owner:ORACLE AMERICAN INC

Handling Persistent/Long-Lived Objects To Reduce Garbage Collection Pause Times

InactiveUS20120246204A1Reducing garbage collection pause timePrevent garbage collectionSpecial data processing applicationsMemory systemsRefuse collectionPersistent object
A method, system and computer program product for reducing garbage collection pause time. According to example embodiments, a garbage collection cycle is initiated on a set of objects that have been dynamically allocated in a memory. An identification is made of new persistent objects and reachable non-persistent objects while ignoring old persistent objects that have been identified as persistent in previous garbage collection cycles. The new persistent objects are associated as members of a set of persistent objects that includes the old persistent objects. The persistence information for the set of persistent objects is preserved for use during subsequent garbage collection cycles. All reachable non-persistent objects and all persistent objects in the set of persistent objects are marked for memory reclamation phase processing. The persistent objects are so marked using the preserved persistence information such that repeated scanning of persistent objects during multiple garbage collection cycles is avoided.
Owner:IBM CORP +1

Program monitoring method and defending method thereof, as well as relevant device

ActiveCN104598809AHook implementationAvoid markingPlatform integrity maintainanceTemporary variableProgram monitoring
The invention provides a program monitoring method and device. The program monitoring method comprises the following steps: writing in a skip instruction for positioned objective functions so as to perform a hook operation; distributing hook functions to registered Java callback functions, and preventing created temporary variables from being collected by a garbage collection mechanism of a system; enabling the objective functions which are not processed to skip back to hook positions, or else, continuing to process the objective functions. Through the adoption of the program monitoring method disclosed by the invention, any Java function of an Android system under an ART mode can be monitored without destroying the stack of the objective functions, so that the garbage collection mechanism of the ART can perform normal memory collection. The invention further provides a program defending method and device, which realize a defending mechanism of the Android system under the ART mode by adopting the program monitoring method disclosed by the invention.
Owner:BEIJING QIHOO TECH CO LTD

Memory recovery method and device

The invention relates to the technical field of computers, in particular to a memory recovery method and a memory recovery device. The method comprises the following steps of: when memory recovery is required, determining an unprocessed partition of a memory node requiring memory recovery; acquiring a linked list with the highest recovery weight in the partition, performing memory recovery on the linked list and updating the recovery weight of the linked list; judging whether the recovery weight corresponding to the linked list with the highest recovery weight in the current partition is less than reference recovery weight to acquire a first judgment result; when the recovery weight is not less than the reference recovery weight, entering to acquire the linked list with the highest recovery weight in the partition, and performing the memory recovery on the linked list; and when the recovery weight is less than the reference recovery weight, entering one unprocessed partition of the memory node to be recovered until each partition of the memory node to be subjected to memory recovery is traversed. According to the method, the memory recovery efficiency is increased.
Owner:HUAWEI TECH CO LTD

Memory recovery method and terminal

ActiveCN106484472AAvoid reoccupyingImprove the effect of memory recoveryMemory adressing/allocation/relocationProgram loading/initiatingRecovery methodOperating system
Embodiments of the invention disclose a memory recovery method and a terminal. The method comprises the steps that the terminal determines a target application from applications running in a background according to a preset rule, wherein the target application is an application needed to be cleared; the terminal freezes the target application and recovers data generated during running of a process of the target application in a memory; and the terminal unfreezes the target application and runs the target application when receiving an input triggering instruction for the target application. By adopting the method and the terminal provided by the embodiments of the invention, the memory recovery effect can be improved.
Owner:HUAWEI TECH CO LTD

Thread memory reclamation

An apparatus and method of managing memory utilized by a process executing on a computer system with an operating system frees memory segments allocated to threads (in the process) if it is determined that such threads have stopped operating. To that end, messages forwarded between the process and operating system are intercepted. The location of a memory segment that is allocated to a given thread in the process then is ascertained from at least one of the intercepted messages. The given thread thus is monitored and its allocated memory segment is freed if it is determined that the given thread has stopped operating.
Owner:NEXT LEVEL COMM +1

Internal memory recovery method and device

Provided are a memory recycling method and device. The memory recycling method comprises: receiving a memory recycling request message, with the memory recycling request message containing a recycling identifier, the recycling identifier being used for indicating the number of memory pages which requested to be recycled; according to the recycling identifier, recycling inactive pages of a non-volatile memory (NVM) in order of the number of times the inactive memory pages of the NVM have been written, from small to large. In the memory recycling method and device in the embodiments of the present invention, by recycling the inactive pages of the NVM in order of the number of times the inactive memory pages of the NVM have been written, from small to large, it is realized that a page of which the number of times the inactive memory pages of the NVM have been written is relatively small is recycled first, and a page of which the number of times the inactive memory pages of the NVM have been written is relatively big is recycled later, thereby enabling the wear of the memory pages of the NVM to be balanced, and improving the stability and reliability of a memory unit.
Owner:HUAWEI TECH CO LTD +1

Memory management method and apparatus

Embodiments of the invention provide a memory management method and apparatus, which is used for solving the problem of serious influence on memory allocation performance in a scene of system memory insufficiency due to relatively low memory recycling rate at present. The method comprises the steps of determining memory pages needed to be swapped out in a memory; for each memory page needed to beswapped out, according to the memory page, generating a working task used for executing recycling on the memory page; and determining a special working thread, and allocating each working task to thespecial working thread for execution. Therefore, multi-CPU parallel processing of memory recycling is realized, the memory recycling speed is increased, and the user experience is improved.
Owner:HUAWEI TECH CO LTD

Method for improving game fluency under low-memory Android device

InactiveCN105760228AImprove fluencyReduce memory reclamation operationsResource allocationOccupancy rateFile system
The invention provides a method for improving the game fluency under a low-memory Android device.The low-memory Android device refers to the Android device of which the physical memory is not more than 256 MB.In the prior art, the low-memory Android device lags while running a big game, due to the fact that residual available memory is less, and most of the memory exits in a file system cache mode and can be allocated through memory reclamation, frequent memory reclamation can cause too high CPU occupancy rate, and system lagging is caused.The implementation method comprises the steps that a timer is started at an Android application layer, idle memory and file system cache sizes are obtained every five seconds, when a threshold value is reached, the file system cache is removed and turned into system idle cache capable of being directly allocated, and the system lagging phenomenon caused by cache reclamation is relieved.By mean of the method for improving the game fluency under the low-memory Android device, big games of Temple Run and the like can be run smoothly, and the product competitiveness is promoted.
Owner:ZHUHAI HUIDI TECH CO LTD

Automated memory management of indexed data using weak references

Memory may be managed by a garbage collector. The memory may contain a data structure and an index. The data structure may include a plurality of objects. The index may index a plurality of the objects in the data structure. For each object which it indexes, the index may contain a key field and a weak reference to the object. The key field may be indicative of an attribute of the object. The weak reference to the object may be associated with the key field. The weak reference may have a configuration which is not followed by a pointer tracer of the garbage collector when the garbage collector seeks to determine which of the objects in the data structure are no longer reachable from outside of the data structure during a memory reclamation process. This may insure that the index does not prevent the memory occupied by any unreachable object in the data structure from being reclaimed by the garbage collector during the memory reclamation process, even though the object is still referenced by the index. References in a reference reclamation queue generated by the garbage collector may be used to identify and remove entries in the index to objects whose memory has been reclaimed by the garbage collector.
Owner:ALELO

Smart card internal memory management method

The invention relates to an intelligent card memory management method, by which the memory can be used dynamically and general applications, exclusive applications and non-exclusive applications are separated. The method comprises: as for the general applications, the applied memory is automatically released after exiting; as for the exclusive applications, the applied memory is allocated to the exclusive applications for permanent use without release; and as for the non-exclusive applications, the applied memory is only released when other non-exclusive applications apply memory. The management method can improve memory utilization efficiency of large-capacity intelligent cards and simultaneously solve the problem of memory recovery of the intelligent cards in practical application.
Owner:RDA MICROELECTRONICS SHANGHAICO LTD

Deferred destruction for efficient resource reclamation

Memory reclamation includes executing a process that has a plurality of objects, the objects being accessible via a plurality of references, at least some of the plurality of references being transient references, at least some of the plurality of references being persistent references; reaching a reclamation point at which a process state has no transient references, or has transient references only at known locations; and at the reclamation point, destructing objects that have no persistent references and no transient references.
Owner:OPTUMSOFT

Data storage method and device and data acquisition method and device

The invention provides a data storage method. According to the method, a key of a key-value pair is converted into a hash value from an object, converting the value of the key-value pair from the object into instance data, the data structure of the key and the value is improved; an object head of the key and the value, alignment filling and other parts are removed, storage space occupied by the object head and the alignment filling is saved; therefore, the storage overhead of the object in the key value pair is reduced, the function of compressing and storing the key value pair is realized, the key value storage efficiency is improved, the probability of problems such as memory recovery triggered by overlarge memory space is reduced, and the performance of the storage system is improved.
Owner:HUAWEI CLOUD COMPUTING TECH CO LTD

Integrated circuits and methods to compensate for defective memory in multiple layers of memory

Embodiments of the invention relate generally to data storage and computer memory, and more particularly, to systems, integrated circuits and methods to compensate for defective memory in third dimension memory technology. In a specific embodiment, an integrated circuit is configured to compensate for defective memory cells. For example, the integrated circuit can include a memory having memory cells that are disposed in multiple layers of memory. It can also include a memory reclamation circuit configured to substitute a subset of the memory cells for one or more defective memory cells. At least one memory cell in the subset of the memory cells resides in a different plane in the memory than at least one of the one or more defective memory cells.
Owner:III HLDG 1

Memory recovery method and device and electronic equipment

The embodiment of the invention discloses a memory recovery method and device and electronic equipment. The method comprises the following steps: in a memory recovery scene, acquiring memory pressurewhich represents a proportional relation between an unrecovered memory and a scanned memory in a historical time window; obtaining a memory recovery proportion corresponding to the memory pressure, the memory recovery proportion representing a proportion among a plurality of memory recovery objects, wherein the higher the memory pressure is, the lower the proportion of the memory recovery object needing to consume CPU resources during recovery in the corresponding memory recovery proportion is; and performing memory recovery based on the memory recovery proportion. Therefore, under the condition that the memory recovery ratios corresponding to the different memory pressures are different, the current memory pressure can be obtained at first when memory recovery begins, then the respectiverecovery amounts of the multiple memory recovery objects are determined according to the current memory pressure, and then the flexibility of the memory recovery process is improved.
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD

Method and device for memory recycle and allocation

The invention discloses a method and device for memory recycle and allocation. The method comprises the following steps: a demand of memory allocation is received; after the demand of the memory allocation is received, if the memory of the current first memory management area dissatisfies the preset value, whether the recycle mode of the current first memory management area indicates recycle of the current first memory management area or not is judged, wherein the recycle mode of the current first memory management area is determined according to the topology condition of the node to which the current first memory management area belongs; if the recycle mode of the current first memory management area indicates recycle of the current first memory management area, the current first memory management area is recycled; the demand of the memory allocation is responded, and allocation is performed to the memory of the recycled current first memory management area. Through the mode, the method can ensure that the local memory can be in local allocation to the greatest extent, and avoids the unnecessary memory remote access to the greatest extent, so that the influence on the system performance is reduced.
Owner:海宁市黄湾镇资产经营有限公司

Memory recovery method and device, storage medium and electronic equipment

The embodiment of the application discloses a memory recovery method and device, a storage medium and electronic equipment, and the method comprises the steps: determining a target thread for executing a related task in a user interaction event, and marking the target thread as a first type of thread; when a memory allocation request sent by the first type of threads is received, allocating memorypages to the first type of threads from the free memory space, wherein the memory pages allocated to the first type of threads serve as first type of memory pages, and the allocated memory pages, except the first type of memory pages, in the allocated memory space serve as second type of memory pages; and when it is detected that the system enters the memory recovery process, performing recoveryprocessing on the second type of memory pages in the allocated memory space. According to the scheme, the memory pages occupied by the threads executing the related tasks in the user interaction eventcan be prevented from being frequently recycled, the running efficiency of the threads is improved, the jamming phenomenon in an interaction scene is reduced, and the user experience is improved.
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD

Memory recovery method, device, electronic equipment and computer readable storage medium

PendingCN111966492AEasy to useOptimize memory recovery mechanismResource allocationComputer hardwareEngineering
The embodiment of the invention discloses a memory recovery method, a device, electronic equipment and a computer readable storage medium. The method comprises the steps of obtaining a current space utilization rate of an exchange partition when a mechanism for killing a process to recycle a memory is triggered; determining a target utilization rate interval to which the space utilization rate belongs from a plurality of utilization rate intervals; and recovering the memory according to a memory recovery rule corresponding to the target usage rate interval. According to the memory recovery method and device, the electronic equipment and the computer readable storage medium, the memory recovery mechanism can be optimized, and the use performance of the electronic equipment is improved.
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD

Memory recovery method and device, storage medium and electronic equipment

The embodiment of the invention discloses a memory recovery method and device, a storage medium and electronic equipment, and the method comprises the steps: determining a current idle memory amount when a memory distribution request transmitted by a thread is received; if the idle memory amount is smaller than a preset threshold value, determining the types of the threads, and dividing the threads into multiple types of threads with different priorities; acquiring a memory recovery proportion corresponding to the type of a thread, and recovering memory pages in allocated memory space according to the memory recovery proportion, wherein the recovery efficiencies of different types of memory recovery objects are different, and the higher the priority of the thread is, the larger the proportion of the memory recovery object with the higher recovery efficiency in the corresponding memory recovery proportion is. The memory allocation efficiency of the first type of threads is improved, thephenomenon that the first type of threads are stuck in an interaction scene due to the fact that the first type of threads cannot obtain the memory in time is avoided, and user experience is improved.
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD

Integrated circuits and methods to compensate for defective non-volatile embedded memory in one or more layers of vertically stacked non-volatile embedded memory

Embodiments of the invention relate generally to data storage and computer memory, and more particularly, to systems, integrated circuits and methods to compensate for defective memory in third dimension memory technology. In a specific embodiment, an integrated circuit is configured to compensate for defective memory cells. For example, the integrated circuit can include a memory having memory cells that are disposed in multiple layers of memory. It can also include a memory reclamation circuit configured to substitute a subset of the memory cells for one or more defective memory cells. At least one memory cell in the subset of the memory cells resides in a different plane in the memory than at least one of the one or more defective memory cells.
Owner:III HLDG 1

Performance detection method and system for memory recovery mechanism of virtual reality software

The invention discloses a performance detection method and system for a memory recovery mechanism of virtual reality software. The method comprises the steps of creating a server Socket, receiving a test request of a client through the server Socket, calling a test program for testing the memory recovery mechanism of the virtual reality software to obtain a test result, and sending the test resultto the client, wherein the test result comprises the number of data frames cumulatively running in a test process, the calling frequency of memory recovery operation in the test process and the timeof calling the memory recovery operation by a CPU each time in the test process; and analyzing the test result by the client, and generating a test report. Source codes do not need to be relied on; the coverage of the test is improved; the accuracy is higher; the performance of the virtual reality software in the aspect of memory recovery can be conveniently reflected; and the manpower input of test personnel in manual writing of the test report is reduced.
Owner:FUJIAN TQ DIGITAL

Memory leakage detection method and apparatus for Android application

The present invention discloses a memory leakage detection method and apparatus for an Android application. The memory leakage detection method comprises: establishing a weak reference audio monitor, wherein the weak reference audio monitor monitors the Activity component of the currently running application; and when the Activity component is destroyed, detecting whether there is a reference to the Activity component, if so, triggering a memory recovery mechanism, and detecting whether there is a weak reference to the Activity component. Beneficial effects of the method and apparatus disclosed by the present invention are that, by arbitrarily setting a monitor object, monitoring of the memory leakage in the application development can be facilitated; and the method and apparatus are simple and flexible, so that not only the robustness of the application is improved, and the development efficiency of the engineer is improved.
Owner:卓望数码技术(深圳)有限公司

Global UNIX file system cylinder group cache

A global cylinder group (CG) cache is stored in file server memory and shared by a plurality of file systems supported by the file server. The global CG cache comprises a number CG entries which are pre-allocated in memory. As different file systems are accessed, global CG entries in the CG cache are used to store CG block information for the accesses. With such an arrangement, a file server may support multiple file systems using a single global CG cache without starvation and other the adverse performance impacts of the prior art. According to one aspect of the invention, the global CG cache is periodically scanned to reclaim memory. In contrast to the prior art, where multiple scans were periodically performed of multiple CG caches for memory reclamation, the use of a single CG cache minimizes the impact of CG cache maintenance on file server performance.
Owner:EMC IP HLDG CO LLC

Memory optimization method and device, electronic equipment and computer readable storage medium

The embodiment of the invention discloses a memory optimization method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: monitoring anidle memory of an operating system; when it is detected that the current idle memory is less than a first threshold value, determining the memory bumping degree of the operating system; if the memorybumping degree is greater than a second threshold, recovering the memory according to a process killing rule. According to the memory optimization method and device, the electronic equipment and the computer readable storage medium, the memory recovery mechanism can be optimized, and the use performance of the electronic equipment is improved.
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products