Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Object processing method and device, electronic equipment and computer readable storage medium

A processing method and object storage technology, which is applied in the computer field, can solve problems such as application freezes and poor user experience, and achieve the effects of increasing fluency, reducing the number of garbage collections, and improving user experience

Pending Publication Date: 2020-08-11
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides an object processing method, device, electronic device, and computer-readable storage medium, which can solve the problem of poor user experience caused by frequent triggering of the garbage collection mechanism when the application program is running.

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
  • Object processing method and device, electronic equipment and computer readable storage medium
  • Object processing method and device, electronic equipment and computer readable storage medium
  • Object processing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0032] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard. ...

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 an object processing method and device, electronic equipment and a computer readable storage medium, and relates to the field of computers. The method comprises the steps of when a creation instruction used for creating a new object is received, adopting a preset first rule to obtain a target object; generating a usable object based on the target object; storing the available object in a preset first object pool, and taking the available object as the new object; and when a garbage collection event for the new object is monitored, obtaining the new object from the firstobject pool, and storing the new object in a preset second object pool by adopting a preset second rule, so that the new object is used as the target object when the new object is obtained by adoptingthe first rule. According to the method, the running fluency of the application program is improved, and the user experience is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, the present disclosure relates to an object processing method, device, electronic equipment, and computer-readable storage medium. Background technique [0002] During the running of the application, a large number of objects will be created in the memory, but the memory of the virtual machine is limited, and objects cannot be created indefinitely. When an object is no longer needed, it needs to be recycled. In order to liberate developers' energy, JAVA introduces a garbage collection mechanism to automatically identify useless objects and recycle them. [0003] The garbage collection mechanism is good, but it is not without cost. No matter how the garbage collection algorithm is optimized, it is inevitable to temporarily suspend the execution of all threads during recycling. Therefore, when the garbage collection mechanism is triggered frequently, it will Causes th...

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
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5061
Inventor 李兆轩
Owner BEIJING BYTEDANCE NETWORK TECH CO 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