Data processing method and device, storage medium and electronic equipment

A data processing device and data processing technology, which are applied in electrical digital data processing, memory systems, memory address/allocation/relocation, etc., can solve problems such as slow system operation, freezes, and memory waste.

Active Publication Date: 2019-12-20
TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Memory leaks will cause memory waste, which will cause the system to run slowly, freeze, etc., and even cause system crashes and other problems

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0027] The terms "first" and "second" in this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally also includes steps or modules that are not listed, or optionally inclu...

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 discloses a data processing method and device, a storage medium and electronic equipment. The data processing method can comprise the steps: monitoring a life cycle event of a second object through a first object, wherein the first object refers to the second object, and the life cycle of the first object is longer than that of the second object; detecting whether a life cycle end event of the second object is monitored or not; and if the life cycle end event of the second object is monitored, cancelling the reference of the first object to the second object. According to the data processing method, memory leakage caused by the fact that the long-life-cycle object still holds the reference of the short-life-cycle object after the life cycle of the short-life-cycle object is finished can be effectively avoided.

Description

technical field [0001] The present application belongs to the technical field of electronic equipment, and in particular relates to a data processing method, device, storage medium and electronic equipment. Background technique [0002] Memory leak (Memory Leak) refers to the situation that the program does not release or cannot release the memory space that has been applied for for some reason after applying for memory, causing the system memory to be occupied for a long time. Memory leaks will cause waste of memory, which will cause the system to run slowly, freeze, etc., and even cause system crashes and other problems. Long-lived objects holding references to short-lived objects are prone to memory leaks. Contents of the invention [0003] The embodiments of the present application provide a data processing method, device, storage medium, and electronic equipment, which can effectively avoid the problem caused by the long-life-cycle object still holding the reference ...

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): G06F12/02
CPCG06F12/0253
Inventor 张骏
Owner TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN 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