Automatic Generation Method of Java Object Information Analysis Program

A technology for object information and analysis programs, applied in the field of automatic generation of Java object information analysis programs, can solve problems such as loss outweighs gains, programmers can't use it, and design has a lot to do, so as to improve utilization and facilitate performance optimization and BUG debugging , reduce the effect of duplication of work

Active Publication Date: 2018-12-28
BEIHANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are two main problems in this method: one is that when the "online" monitoring program is modified, the output file format may change, which will lead to corresponding changes in the "offline" analysis program; the other is that the functions provided by the "offline" analysis program It is fixed, it can only statistically analyze the preset object information, even if it could have counted additional useful information for the programmer, but the programmer cannot use it, because he may not have analyzed the source code of the program, or it may Analyzing the program code is complicated, and modifying it is not worth the loss. In addition, it is unrealistic to expect every programmer to be able to modify such a program
[0004] The data format of Java object information generated by most of the existing Java program analysis software (commercial or open source) is proprietary, and its own proprietary analysis tools are used for analysis. Once the data format changes, the program must also be changed. This task The amount has a lot to do with the original design, and programmers using these tools cannot expand it to create the analysis program they want

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
  • Automatic Generation Method of Java Object Information Analysis Program
  • Automatic Generation Method of Java Object Information Analysis Program
  • Automatic Generation Method of Java Object Information Analysis Program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described in detail with reference to the accompanying drawings and embodiments.

[0020] combine figure 1 and image 3 The automatic generation method of the Java object information analysis program of the present invention is specifically described.

[0021] figure 1 In , the part inside the left frame line represents the automatic generation process of the object information analysis program; the part inside the right frame line shows the method of using the object information analysis program.

[0022] Step 1, use EBNF notation to describe the object information storage format.

[0023] figure 1 ① means "EBNF description file of the object information storage format", which stores the description of the object information storage format using the EBNF (Extended Backus-Naur Form) notation in text format, see figure 2 Simple example given.

[0024] exist figure 2 , each line is a derivation rule, and the left part of the ...

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 automatic generation method for a Java object information analysis program. The method comprises: for binary object information, describing an object information storage format with an EBNF representation method, self-defining a source code file used for analysis by a programmer, analyzing an EBNF description file in the object information storage format and the source code file self-defined by the programmer by utilizing an automatic generation module of an object information analyzer, generating a source code of an object information analysis program, and performing compiling and linking to generate an executable object information analysis program; and reading an object information file, inputting the object information file into the object information analysis program for analysis, and outputting statistic data. The automatic generation method for the object information analysis program can well adapt to the situation of frequent change of an "online" monitoring program and allow the programmer to conveniently customize a required "offline" analysis program, thereby increasing the utilization rate of the object information file and improving the development efficiency of the programmer.

Description

technical field [0001] The invention belongs to the technical field of Java computer applications, and in particular relates to an automatic generation method of a Java object information analysis program. Background technique [0002] Tool software for performance analysis of Java programs usually needs to monitor the state of objects in the memory "online" when the Java program is running, and output the obtained object state information to a disk file, and then the programmer uses the object information that is matched with the tool software The analysis program performs "offline" analysis on the disk file, and finally obtains statistical results, which can help programmers find out the performance bottleneck or memory leak point of the program. [0003] There are two main problems in this method: one is that when the "online" monitoring program is modified, the output file format may change, which will lead to corresponding changes in the "offline" analysis program; the ...

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): G06F8/30G06F8/40
Inventor 余恒洋史晓华冯伟
Owner BEIHANG UNIV
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