Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for acquiring java-lua hybrid method call stack

A method call and method acquisition technology, applied in the field of java-lua application performance analysis data acquisition, can solve problems such as incapable performance analysis, and achieve the effect of improving the accuracy of performance analysis

Pending Publication Date: 2022-05-10
ZHEJIANG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is mainly aimed at the problem that java calls lua-related script logic applications, which cannot be completely analyzed in the industry, and provides a java-lua mixed method call stack acquisition method and device

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 and device for acquiring java-lua hybrid method call stack
  • Method and device for acquiring java-lua hybrid method call stack
  • Method and device for acquiring java-lua hybrid method call stack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] For applications where java calls lua-related script logic, how to simultaneously sample the call stacks of java and lua during the running of the program, and how to stitch and process the call stack data accurately has always been an urgent problem in the industry. Among the existing technical solutions and technical tools in the industry, most of them can only perform performance analysis for a single language. For example, if you use TProfiler, an official performance tuning analysis tool provided by Ali, to analyze the performance of an application that calls lua-related script logic from java, you can only see relevant performance analysis data such as the java program call stack, and the relevant performance analysis data such as the lua function call stack is missing. . However, program developers hope to see complete results including all performance analysis data of java and lua as a whole.

[0038] Therefore, the embodiment of the present disclosure provides a...

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 method and a device for acquiring a java-lua hybrid method call stack. The method comprises the following steps: firstly, acquiring a java method call stack of a target application program; the method comprises the following steps: acquiring a Java method call stack, acquiring a LuaJ virtual machine, acquiring lua call stack data through the LuaJ virtual machine, performing data stitching processing on the acquired java method call stack according to a specific java call lua script stack frame position and the lua method call stack, and determining a more complete method call stack of a java-lua application program of the target based on the stitched method call stack. According to the method, more comprehensive performance analysis data can be obtained, and the performance analysis accuracy of the application program can be improved.

Description

technical field [0001] The invention relates to the field of performance analysis, in particular to a method, device, equipment and storage medium for acquiring java-lua application program performance analysis data. Background technique [0002] Performance analysis (also known as profiling) is an analysis method that studies program behavior by means of collecting program runtime information, and is a dynamic program analysis method. Performance analysis measures such as the space or time complexity of the program, the usage of specific instructions, the frequency of function calls, and the running time. The purpose of performance analysis is to determine which part of the program should be optimized to improve the program's speed or memory usage efficiency. Performance analysis can be performed on a program's source code or executable file. Typically this is done using a tool called a profiler. Performance analysis tools will use many different techniques, which may be...

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/448G06F9/455G06F11/34
CPCG06F9/449G06F9/45558G06F11/3409
Inventor 胡天磊朱鹏陈珂寿黎但江大伟陈刚
Owner ZHEJIANG UNIV
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