Supercharge Your Innovation With Domain-Expert AI Agents!

Java program performance problem positioning method and device

A positioning method and positioning device technology, applied in the computer field, can solve the problems of heavy workload for developers and unfavorable manual analysis, etc.

Pending Publication Date: 2020-10-30
重庆紫光华山智安科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] image 3 It is a Jprofiler object analysis diagram, which provides the "incoming reference" and "outcoming reference" of each object type, but its limitation is that when it comes to circular references, it is not conducive to manual analysis, which makes the developer's work burden larger

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
  • Java program performance problem positioning method and device
  • Java program performance problem positioning method and device
  • Java program performance problem positioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0041] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the compo...

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 Java program performance problem positioning method, and the method comprises the following steps: obtaining JVM heap memory information, including object attributes in a JVMheap memory and a reference relationship between objects, and forming an object reference graph by the objects in the JVM heap memory; obtaining a memory consumption contribution degree PIC of each object type in the object reference graph; and positioning problems in the program according to the memory consumption contribution degree PIC. According to the method, the large-probability problem class can be more scientifically calculated by calculating the memory consumption contribution degree PIC, and the defects of inaccurate performance problem positioning and heavy manual analysis burdenin the current memory use analysis technology can be effectively solved through the concrete analysis.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a Java program performance problem location method and device. Background technique [0002] The most common performance problems in Java programs stem from memory. For example, memory errors in the JVM, excessive garbage collection, improper data caching, thread deadlocks and deadlocks, exhausted database connections, slow database calls, java code level issues, java application server bottlenecks, server performance issues, network latency and Connection problem. [0003] At present, mainstream Java program memory usage analysis technologies include MAT (Eclipse Memory Analyzer Tool) and JProfiler. MAT: a Java heap analyzer, analyzes the size of the memory occupied by each object type in the Java heap memory, and provides object reference relationships between object types. JProfiler: A Java program performance monitoring tool that provides Java software objects, ob...

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): G06F9/50G06F11/36
CPCG06F9/5016G06F9/5022G06F11/3664
Inventor 刘星辰吕潘锋
Owner 重庆紫光华山智安科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More