Recovery method and device for memory garbage

A memory and garbage technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve problems that affect user experience, user interface stuck, stuck, etc., to improve user experience, smooth Browse, improve the effect of intelligence

Inactive Publication Date: 2016-12-07
MEIZU TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current memory garbage collection (Garbage Collection, GC for short) method has the following problems: in real-time applications, due to the frequent work of the virtual machine, it is easy to cause "stuck" phenomenon, and this "stuck" phenomenon will lead to serious problem,
[0004] For example, when a user browses messages pushed by some applications (such as WeChat and QQ), the applications often send some news, entertainment news, etc. in real time, and most of them are sent in the form of pictures to attract users. When the user receives these messages and browses, due to too many pictures, the virtual machine needs to continuously recycle the browsed pictures. At this time, the user interface is often stuck, that is, the phenomenon of "stuck", which affects the user's experience. Experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Recovery method and device for memory garbage
  • Recovery method and device for memory garbage
  • Recovery method and device for memory garbage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to have a clearer understanding of the above objects, features and advantages of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0038] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0039] Combine below figure 1 with figure 2 Embodiments of the memory garbage collection method of the present invention will be described in detail.

[0040] Such as figure 1 As shown, the memory...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a recovery method and device for memory garbage. The recovery method for memory garbage comprises determining whether a display interface of a terminal is in a slide stopping state; performing memory garbage recovery when it is detected that the display interface is in a slide stopping state. The technical proposal of the invention effectively avoids the unsmooth phenomenon of the terminal caused by the frequent memory garbage collection operation of the virtual machine so that users can smoothly browse lists without waiting; the intelligence of terminal operation is increased and user experience is increased.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular, to a method and device for garbage collection of memory. Background technique [0002] Intelligent garbage collection is a dynamic storage management technology, which automatically releases objects that are no longer referenced by the program, and realizes automatic resource recovery according to a specific memory garbage collection algorithm. As objects are created and the garbage collector frees memory occupied by discarded objects, fragmentation occurs in memory, where fragments are free memory holes between memory blocks allocated to objects. In addition to releasing useless objects, the garbage collector can also clear memory record fragments. Defragmentation moves the occupied heap memory to one end of the heap, and then the JVM (Java Virtual Machine, Java Virtual Machine) allocates the sorted memory to new objects. In addition, the garbage collector can also mov...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0605G06F3/0652
Inventor 高建武
Owner MEIZU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products