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

Method, electronic device and storage medium for determining trigger point of garbage collection

A technology of garbage collection and storage medium, applied in the computer field, it can solve the problems of no direct analysis, primitive and low efficiency, etc.

Active Publication Date: 2022-05-06
JRD COMM (SHENZHEN) LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Applications that use a lot of memory may cause system garbage collection, but there is no way to directly analyze the specific lines of code corresponding to memory leaks. The analysis of memory leaks can only be done by using the tools that come with the integrated development environment to find and separate invalid or unconcerned memory one by one. Allocation, and finally screen out memory applications that may be problematic. This analysis method is both primitive and inefficient

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
  • Method, electronic device and storage medium for determining trigger point of garbage collection
  • Method, electronic device and storage medium for determining trigger point of garbage collection
  • Method, electronic device and storage medium for determining trigger point of garbage collection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0019] refer to figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the method for determining the trigger point of garbage collection provided by this application, and the method includes:

[0020] Step 11: Get the time to trigger garbage collection.

[0021] Garbage collection (Gabage Collection, GC) means that objects no longer needed by the program are "useless information", which will be discarded and recycled; garbage collection ...

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 present application discloses a method for determining the trigger point of garbage collection, an electronic device and a storage medium. The method includes obtaining the triggering time of garbage collection; screening out the preset memory application information from multiple memory application information for memory application by the application program The first type of memory application information of the target application; matching the first type of memory application information with the time when the garbage collection is triggered to obtain the memory application information that triggers the garbage collection; wherein the memory application information includes at least the time of the memory application. By screening multiple memory application information, the first type of memory application information is obtained, and then the first type of memory application information is matched with the time when garbage collection is triggered to obtain the memory application that triggers garbage collection, so as to find the location that triggers garbage collection .

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method for determining a garbage collection trigger point, an electronic device, and a storage medium. Background technique [0002] Applications that use a lot of memory may cause system garbage collection, but there is no way to directly analyze the specific lines of code corresponding to memory leaks. The analysis of memory leaks can only be done by using the tools that come with the integrated development environment to find and separate invalid or unconcerned memory one by one. Allocation, and finally screen out memory applications that may be problematic. This analysis method is both primitive and inefficient. Contents of the invention [0003] The main problem to be solved by this application is to provide a method for determining the trigger point of garbage collection, an electronic device and a storage medium, which can find the specific location tha...

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 Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016G06F9/5022
Inventor 涂斌健林永杰
Owner JRD COMM (SHENZHEN) 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