CN103106134A - Detecting method, device and system for performance deficiency - Google Patents

Detecting method, device and system for performance deficiency Download PDF

Info

Publication number
CN103106134A
CN103106134A CN2011103558618A CN201110355861A CN103106134A CN 103106134 A CN103106134 A CN 103106134A CN 2011103558618 A CN2011103558618 A CN 2011103558618A CN 201110355861 A CN201110355861 A CN 201110355861A CN 103106134 A CN103106134 A CN 103106134A
Authority
CN
China
Prior art keywords
performance deficiency
java applet
thread
data
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103558618A
Other languages
Chinese (zh)
Other versions
CN103106134B (en
Inventor
王成军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201110355861.8A priority Critical patent/CN103106134B/en
Publication of CN103106134A publication Critical patent/CN103106134A/en
Priority to HK13108667.0A priority patent/HK1181493A1/en
Application granted granted Critical
Publication of CN103106134B publication Critical patent/CN103106134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a detecting method, a detecting device and a detecting system for performance deficiency. The detecting method includes the following steps: obtaining performance deficiency detecting data of a Java program in the process that a Java virtual machine (JVM) runs the Java program, and detecting the performance deficiency of the Java program in the operational process of the Java program according to preset performance deficiency analysis rules and the performance deficiency detecting data, so that the existing performance deficiency of a Java program source code can be accurately determined before the running of the Java program in a real environment, and the source code with performance deficiency can be timely adjusted, the performance of a computer system which actually runs the Java program is guaranteed, and the problem of possible breakdown of the computer system due to the performance deficiency of the Java program when the computer system runs the Java program is further avoided.

Description

A kind of performance deficiency detection method, device and system
Technical field
The application relates to Java performance test field, particularly a kind of performance deficiency detection method, device and system.
Background technology
Java is a kind of object oriented program language that can write cross-platform software.Very important characteristics of Java language are exactly the independence with platform.The key that realizes these characteristics and use Java Virtual Machine.General higher level lanquage if on different platforms operation need at least to be compiled into different object codes.
Java Virtual Machine (Java Virtual Machine, JVM) is the virtual machine of the operation java applet realized of the function by the various computing machines of analogue simulation on the computing machine of reality.JVM can comprise a cover byte code instruction collection, one group of register, stack, garbage reclamation heap and a storage means territory when realizing.Java Virtual Machine is when the operation java applet, even moving on different platform, the source code of java applet do not need to recompilate yet, because JVM has shielded the relevant information of specific operating system platform, the Java source code only need be converted to just can directly operation on kinds of platform at the object code that can move on Java Virtual Machine (bytecode).
If performance deficiency appears in the source code of java applet, will cause the computer system performance of working procedure lower when this java applet moves in actual environment so, even can cause the paralysis of computer system.Therefore, carrying out performance deficiency for the source code of java applet detects just very necessary, only just can adjust the Java source code that has performance deficiency before the java applet actual motion, the performance of guarantee computer system, the paralysis problem that also can further avoid computer system to occur in operation java applet process.
But the inventor finds through research, also exists in prior art to utilize virtual machine effectively the performance deficiency of the source code of java applet to be carried out the method that accurately detects.
Summary of the invention
The application's technical matters to be solved is to provide a kind of performance deficiency detection method, in order to utilize virtual machine that the performance deficiency of the source code of java applet is accurately detected, thereby guarantee the computer system performance when java applet moves in actual environment, further avoid computer system to rerun and the paralysis problem occurs in the java applet process.
The application also provides a kind of performance deficiency pick-up unit, in order to guarantee said method implementation and application in practice.
In order to address the above problem, the application discloses a kind of performance deficiency detection method, comprising:
In the process of Java Virtual Machine JVM operation java applet, the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises: the internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process.
Preferably, the internal storage data of described JVM comprises: in the JVM heap memory, the internal memory in Young of new generation district uses size, total amount of memory, and GC the number of garbage reclamation Young in Young district and execution time of recovery at every turn;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory that calculates Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Young district total amount of memory of using size and Young district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
Preferably, the internal storage data of described JVM comprises: in the JVM heap memory, the personated old man uses size, total amount of memory for the internal memory in Old district, and the personated old man is for GC the number of garbage reclamation Old in Old district and execution time of recovery at every turn;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory that calculates Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Old district total amount of memory of using size and Old district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
Preferably, the thread state data of described java applet comprises: the status data of each thread of creating, operation, hang-up and terminal procedure in the java applet operational process;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
To having in each thread operational process of java applet and needed thread state data is added up comparison;
Exist thread state data etc. to bide one's time between any two threads, the performance deficiency of determining described java applet is thread deadlock.
Preferably, described java applet thread comprises the response data that client sends request:
The java applet thread sends the abnormal responses number of request to the total number of response, response assertion failed number and the java applet thread that client sends request to client;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
Judge described java applet in the value of virtual machine service request in service response error rate whether greater than 0, if so, determine that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is: the difference of described response assertion failed number and described abnormal responses number is again divided by the resulting business of the total number of response.
Preferably, also comprise:
According to the performance deficiency that detects, the source code of described java applet is adjusted.
The application discloses a kind of performance deficiency pick-up unit, comprising:
Data acquisition module and detection module;
Wherein:
Described data acquisition module is used for the process at Java Virtual Machine JVM operation java applet, and the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises:
The internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client;
Described detection module is used for detecting data according to default performance deficiency analysis rule and described performance deficiency, detects described java applet at the performance deficiency of operational process.
Preferably, described detection module comprises: the first memory leak detecting submodule;
Described the first memory leak detecting submodule is used for using size, total amount of memory at the internal memory that the JVM internal storage data that described data acquisition module obtains is JVM heap memory Young of new generation district, and during the execution time of GC the number of garbage reclamation Young in Young district and recovery at every turn;
The internal memory that calculates Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Young district total amount of memory of using size and Young district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
Preferably, described detection module comprises:
The second memory leak detecting submodule;
Described the second memory leak detecting submodule is used at the JVM internal storage data that described data acquisition module obtains, and to be JVM heap memory personated old man use size, total amount of memory for the internal memory in Old district, and the personated old man is during for execution time of GC the number of garbage reclamation Old in Old district and recovery at every turn;
The internal memory that calculates Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Old district total amount of memory of using size and Old district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
Preferably, described detection module comprises:
The thread deadlock detection sub-module;
Described thread deadlock detection sub-module is used for each thread operational process of java applet is had and needed thread state data is added up comparison;
Exist thread state data etc. to bide one's time between any two threads, the performance deficiency of determining described java applet is thread deadlock.
Preferably, described detection module comprises:
The thread-safe detection sub-module;
Described thread-safe detection sub-module is that the java applet thread is to the total number of response of client transmission request, when responding assertion failed number and the java applet thread abnormal responses number that transmission is asked to client for the java applet thread that obtains at the described data acquisition module response data that transmission is asked to client;
Judge described java applet in the value of virtual machine service request in service response error rate whether greater than 0, if so, determine that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is: the difference of described response assertion failed number and described abnormal responses number is again divided by the resulting business of the total number of response.
Preferably, also comprise: adjusting module;
Described adjusting module is used for according to performance deficiency being detected, the source code of described java applet being adjusted
The application also provides a kind of performance deficiency detection system, is provided with the performance deficiency pick-up unit in the controller of described system.
Compared with prior art, the application comprises following advantage:
In this application, in the process of Java Virtual Machine JVM operation java applet, at first obtain the performance deficiency data of java applet, described performance deficiency data comprise: the internal storage data of JVM, the thread state data of java applet and java applet thread send the response data of request to client; Then detect data according to default performance deficiency analysis rule and the described performance deficiency that obtains, detect the performance deficiency of described java applet in operational process.
in whole performance deficiency testing process, with java applet on Java Virtual Machine JVM in operational process, the internal storage data of the JVM that involved java applet operation takies, the thread state data of each thread of java applet and java applet thread send request to client response data gathers with default collection period, and by default performance deficiency analysis rule, the above-mentioned performance deficiency that obtains is detected data analysis, when the performance deficiency detection data of obtaining do not meet default performance deficiency analysis rule, determine that the performance deficiency that obtains detects the corresponding performance deficiency of data, thereby can be before java applet moves determine accurately the performance deficiency that exists in the java applet source code in actual environment, and then in time the source code that has performance deficiency is adjusted, guaranteed the performance of the computer system of actual motion java applet, the systemic breakdown problem of further having avoided computer system may occur due to performance deficiency in operation java applet process.
Preferably, in the application, according to default performance deficiency analysis rule, the performance deficiency that obtains is detected data and carry out the performance deficiency detection, when detecting performance deficiency, can detect data for the many corresponding performance deficiencies of described performance deficiency the source code in java applet is adjusted, make more accurate quick of adjustment process.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, during the below will describe embodiment, the accompanying drawing of required use is done to introduce simply, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 2 is the particular flow sheet of a kind of performance deficiency detection method embodiment 1 in the application;
Fig. 3 is the concrete exemplary plot of a kind of performance deficiency detection method embodiment 1 in the application;
Fig. 4 is the concrete exemplary plot of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 5 is the concrete exemplary plot of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 6 is the particular flow sheet of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 7 is the particular flow sheet of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 8 is the particular flow sheet of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 9 is the process flow diagram of a kind of performance deficiency detection method embodiment 2 of the application;
Figure 10 is the structured flowchart of a kind of performance deficiency pick-up unit embodiment 1 of the application;
Figure 11 is the structured flowchart of a kind of performance deficiency pick-up unit embodiment 2 of the application;
Figure 12 is the structured flowchart of a kind of performance deficiency pick-up unit embodiment 3 of the application;
Figure 13 is the structured flowchart of a kind of performance deficiency detection system of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all belong to the scope of the application's protection.
The application can be used in numerous general or special purpose calculation element environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multi-processor device, comprise distributed computing environment of above any device or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can put into practice the application in distributed computing environment, in these distributed computing environment, be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
One of main thought of the application can comprise, at first, in the process of Java Virtual Machine JVM operation java applet, the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises: the internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client; Then, detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process.Thereby can be before java applet moves in actual environment, the performance deficiency that exists in definite java applet source code in virtual machine, in time the source code that has performance deficiency is adjusted, guarantee the performance of the computer system of actual motion java applet, avoided the systemic breakdown problem that may occur owing to having performance deficiency in the java applet source code in computer system actual motion java applet process.
With reference to figure 1, show the process flow diagram of a kind of performance deficiency detection method of the application embodiment 1, can comprise the following steps:
Step 101: in the process of Java Virtual Machine JVM operation java applet, the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises: the internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client;
In the operational process of java applet on Java Virtual Machine JVM, the properties data that can comprehensively relate to program itself and Java Virtual Machine JVM, in the application in carrying out the performance deficiency testing process, obtain the internal storage data of the java virtual machine JVM that java applet takies in operational process, in the java applet operational process, the status data of each thread and java applet thread send the response data of request to client;
Wherein: the internal storage data of the Java Virtual Machine JVM that obtains comprises:
In the JVM heap memory, the internal memory in Young of new generation district uses size, total amount of memory, and GC the number of garbage reclamation Young in Young district and execution time of recovery at every turn; And in the JVM heap memory, the personated old man uses size, total amount of memory for the internal memory in Old district, and the personated old man is for GC the number of garbage reclamation Old in Old district and execution time of recovery at every turn;
In the java applet operational process that obtains, the status data of each thread comprises:
The status data of each thread of creating, operation, hang-up and terminal procedure in the java applet operational process; And the information data of Java thread stack in the java applet operational process;
The java applet thread that obtains comprises the response data that client sends request:
The java applet thread sends the abnormal responses number of request to the total number of response, response assertion failed number and the java applet thread that client sends request to client;
The embodiment of the present application is in the performance deficiency testing process, simultaneously above various performance detection datas are obtained, in order to better the performance deficiency that may occur in the java applet operational process is detected definitely, can better simulate the actual motion environment that java applet moves in computer system in the performance deficiency testing process.
Step 102: detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process;
In the embodiment of the present application, the performance deficiency that obtains is detected data and analyze according to default performance deficiency analysis rule, thereby go out performance deficiency corresponding to described performance deficiency data for the performance deficiency Data Detection of concrete acquisition.
With reference to figure 2, Fig. 2 shows in the application according to default capabilities defect analysis rule the internal storage data of the Java Virtual Machine JVM that obtains is carried out the process that performance deficiency detects; The internal storage data of wherein said JVM comprises: in the JVM heap memory, the internal memory in Young of new generation district uses size, total amount of memory, and GC the number of garbage reclamation Young in Young district and execution time of recovery at every turn;
Described testing process can comprise:
Step S201: the internal memory that calculates Young district uses the ratio of the total amount of memory in size and Young district;
Step S202: obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Young district total amount of memory of using size and Young district;
Step S203: the described curve point that meets the ratio condition is carried out curve connect;
Step S204: judge whether the described ratio condition curve point that meets surpasses n in the rate of curve that reconnects greater than 0 number; Wherein n is not less than 3 positive integer, if so, and execution in step S205;
Step S205: the performance deficiency of determining described java applet is RAM leakage.
Need to be to what above step S201~S205 described, during Java Virtual Machine JVM operation java applet, because the internal memory of Java Virtual Machine JVM is limited, in order to guarantee the normal operation of java applet, so when Java Virtual Machine JVM detects the memory source anxiety, will remove automatically to clear up the shared memory headroom of Useless object in the java applet operational process.
In order better to describe Java Virtual Machine JVM to the removal process of useless memory object, can use schematic diagram with reference to the internal memory in Young of new generation shown in Figure 3 district, wherein, coordinate axis M is time shaft, and coordinate axis N represents that the internal memory in Young of new generation district uses the ratio of size and the total amount of memory in Young district; Curve in coordinate axis is the curve of ratio P on time shaft that the internal memory in Young of new generation district uses size and the total amount of memory in Young of new generation district; Time period between T1~T2 is once the execution time of the garbage reclamation in Young of new generation district, at T1~T2 in the time period, T2 is the concluding time point of a garbage reclamation, the ratio P at corresponding curve point R place is the T1~minimum value of T2 in the time period at T2 time point place, and the S point in identical Fig. 1 is also minimum with the ratio P that T is ordered in the time period in its corresponding garbage reclamation; In normal garbage reclamation process, R, S, 3 available straight line H of T connect, and the slope of straight line H is 0.
in the embodiment of the present application, when RAM leakage occurs when, a concrete exemplary plot with reference to the internal memory use in Young of new generation shown in Figure 4 district, after each execution garbage reclamation, the shared memory headroom of Useless object can not be discharged fully, point as the ratio condition that meets in Fig. 4 is A, B, C, D, E, to A, B, C, D, E carries out curve and connects, and calculating A, B, C, D, the tangent slope of E on curve, as shown in Figure 4, B, C, D, the rate of curve of E is all greater than 0, and slope greater than 0 point over 3, can determine that the performance deficiency of java applet is RAM leakage this moment.
Need to prove, example shown in Figure 4 is a particular example, and in each garbage reclamation process, the shared memory headroom of Useless object all can not get discharging fully at every turn; In order better the application's performance deficiency detection method to be described, with reference to a concrete exemplary plot of the internal memory use in Young of new generation shown in Figure 5 district; In each garbage reclamation process, qualified point comprises A, B, C, D, E, F, A, B, C, D, E, F are carried out curve to be reconnected, A point and C point are in the same horizontal line, the rate of curve that reconnects of B, D, E, F is greater than 0 point, and the point greater than 0 surpasses 3, and can determine that the performance deficiency of java applet is RAM leakage this moment.
In the process of carrying out garbage reclamation GC, after each GC, remaining internal memory all can tail off, and finally is bound to become 0; In the application, after the beginning Data Collection, the data of collecting after GC for the first time, the original state that factor data is collected is unknowable, so the data of collecting after GC for the first time are not used, and the judgement slope needs the data more than 2 times at least, so in the application, the value of n is at least 3; The existence of frequency n is because there is accidental variation in java application, reports by mistake in order to reduce data accidentally to transfinite, and increases the n value and improves the degree of accuracy of detection.
With reference to figure 6, Fig. 6 shows in the application and according to default capabilities defect analysis rule, the internal storage data of the Java Virtual Machine JVM that obtains to be carried out the process of Performance Detection; The internal storage data of wherein said JVM comprises: in the JVM heap memory, the personated old man uses size, total amount of memory for the internal memory in Old district, and the personated old man is for GC the number of garbage reclamation Old in Old district and execution time of recovery at every turn; Corresponding testing process can comprise:
Step S301: the internal memory that calculates Old district uses the ratio of the total amount of memory in size and Old district;
Step S302: obtain the curve point that meets the ratio condition in each described execution time section on Old GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Old district total amount of memory of using size and Old district;
Step S303: the described curve point that meets the ratio condition is carried out curve connect;
Step S304: judge whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, and n is not less than 3 positive integer, if so, execution in step S305;
Step S305: the performance deficiency of determining described java applet is RAM leakage.
Need to be to what above step S301~S305 described, in the embodiment of the present application for the performance data in Young of new generation district and personated old man for the performance data in Old district be identical according to the principle that detects rule, identical with the Young district for the memory leak detecting process in Old district, can with reference to above-mentioned performance testing process and diagram to the Young district, be not described in detail herein.
With reference to figure 7, Fig. 7 shows in the embodiment of the present application and according to default capabilities defect analysis rule, the thread state data of the java applet that obtains to be carried out the process of Performance Detection, and in the described java applet operational process that obtains, the status data of each thread comprises: the status data of each thread of creating, operation, hang-up and terminal procedure in the java applet operational process;
So corresponding testing process comprises:
Step S401: to having in each thread operational process of java applet and needed thread state data is added up comparison;
Step S402: exist thread state data etc. to bide one's time between any two threads, the performance deficiency of determining described java applet is thread deadlock;
For example:
" thread 1 " and " thread 2 " is two threads in the java applet operational process, and at a time in operational process, " thread 1 " is in following state with " thread 2 ":
" thread 2 ":
At java program $ 2.run (testJstack.java:29)
-waiting?to?lock<0x8c087670>(a?java.lang.Object)
-locked<0x8c087678>(a?java.lang.Object)
" thread 1 ":
At java program $ 1.run (testJstack.java:15)
-waiting?to?lock<0x8c087678>(a?java.lang.Object)
-locked<0x8c087670>(a?java.lang.Object)
" thread 1 " all waiting pending data<0x8c087670 with " thread 2 " at this moment 〉, and can't proceed, thread deadlock namely occurs.
With reference to figure 8, Fig. 8 shows in the embodiment of the present application and according to default capabilities defect analysis rule, the java applet thread that obtains is carried out the process of Performance Detection to the response data of client transmission request, and the described java applet thread that obtains comprises the response data that client sends request: the java applet thread sends the total number of response, response assertion failed number and the java applet thread of asking to client and client sent the abnormal responses number of request; So corresponding testing process comprises:
Step S501: judge that whether described java applet responds the value of error rate greater than 0 in virtual machine service request in service; If so, execution in step S502;
Step S502: the performance deficiency of determining described java applet is that thread is dangerous.
Need to be that in the application, service response request response error rate is: the difference of described response assertion failed number and described abnormal responses number is again divided by the resulting business of the total number of response to what step S501~S502 described.
The java applet thread sends client in the response process of request, for the request of http website status, only can carry out normal response to the request that contains sign " 20x ", and " 20x " wherein represents the status codes such as 200,201,202; Request of data for non-" 20x " can not be carried out normal response; Include the response to the request of data of non-" 20x " in response assertion failed number, and " non-20x " undesired response of request of data is belonged to the normal characteristic of java applet thread, so service response request response error rate is that the difference of described response assertion failed number and described responsive state non-" 20x " is again divided by responding the resulting business of total number.
With reference to figure 9, show the process flow diagram of a kind of performance deficiency detection method of the application embodiment 2, on the basis of Fig. 1, can comprise the following steps:
Step S103: the source code of described java applet is adjusted according to the performance deficiency that detects;
After determining performance deficiency according to default performance deficiency analysis rule and the performance deficiency data of obtaining, the correlated source code of java applet is adjusted;
In the embodiment of the present application, obtain all kinds of performance datas that are applied to when java applet moves in Java Virtual Machine JVM, adopt different analysis rules for different performance datas, obtain the performance deficiency that may occur corresponding with it for each class performance data, then revise accordingly each class performance data corresponding source code in java applet, make the java applet can be more perfect, better move in the actual computer system.
Below provide an instantiation of in the embodiment of the present application, the correlated source code of java applet being adjusted:
Code snippet is as follows:
In above-mentioned code segment, in the 2nd row, func () is by calling getConnection, applied for a connecting object, but at the 5th row, applied for again a new connecting object, and lost the quoting of object of first application, afterwards when the every func of accent of program () method, will cause applying for a new object and can not discharge.
When above-mentioned code is moved in Java Virtual Machine, the performance deficiency detection method that the application provides can detect in above-mentioned code and have RAM leakage, according to the performance deficiency that detects, above-mentioned code is adjusted, the mode of adjustment is specially code the 5th row is left out and gets final product.
Same, if thread deadlock detected in the application, can call accordingly resource and distribute and separate annual reporting law and the resource in the code operational process is distributed adjust, to solve the problem of thread deadlock.
For aforesaid each embodiment of the method, for simple description, therefore it all is expressed as a series of combination of actions, but those skilled in the art should know, the application is not subjected to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the application is necessary.
Corresponding with the method that a kind of performance deficiency detection method of above-mentioned the application embodiment 1 provides, referring to Figure 10, the application also provides a kind of performance deficiency pick-up unit embodiment 1, and in the present embodiment, this device can comprise:
Data acquisition module 601 and detection module 602;
Wherein:
Data acquisition module 601 is used for the process at Java Virtual Machine JVM operation java applet, and the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises:
The internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client;
In the application, the Jstat instrument in Java JDK tool can be set specifically in data acquisition module 601, JVM memory source consumption data is gathered;
Thread dump instrument, thread dump instrument are the instruments of printing Java thread stack;
Http pressure test instrument;
Detection module 602 is used for detecting data according to default performance deficiency analysis rule and described performance deficiency, detects described java applet at the performance deficiency of operational process.
use the performance deficiency testing tool that the embodiment of the present application provides, can be in the process of Java Virtual Machine JVM operation java applet, the performance deficiency that obtains described java applet detects data, then, detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process, thereby can be before java applet moves in actual environment, the performance deficiency that exists in definite java applet source code in virtual machine, and the source code that has performance deficiency is adjusted, guaranteed the performance of the computer system of actual motion java applet, avoided in computer system actual motion java applet process owing to existing performance deficiency the systemic breakdown problem may occur in the java applet source code.
The described device of the present embodiment can be integrated on the server of performance deficiency testing tool, also can be connected with the performance deficiency testing tool as an entity separately, in addition, need to prove, when the described method of the application adopts software to realize, can be used as a newly-increased function of performance deficiency testing tool, can write separately corresponding program yet, the application does not limit the implementation of described method or device.
Referring to Figure 11, preferred, in the performance deficiency testing tool described in the embodiment of the present application 1, detection module 602 comprises: the first memory leak detecting submodule 603;
The first memory leak detecting submodule 603 is used for comprising that at the JVM internal storage data that described data acquisition module 601 obtains the internal memory in JVM heap memory Young of new generation district uses size, total amount of memory, and during the execution time of GC the number of garbage reclamation Young in Young district and recovery at every turn;
The internal memory that calculates Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Young district total amount of memory of using size and Young district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
In the application, the first memory leak detecting submodule 603 can adopt the Jstat instrument in Java JDK tool, and JVM memory source consumption data is gathered.
Preferably, in the performance deficiency testing tool described in the embodiment of the present application 1, detection module 602 comprises: the second memory leak detecting submodule 604;
The second memory leak detecting submodule 604 is used for comprising that at the JVM internal storage data that described data acquisition module 601 obtains JVM heap memory personated old man uses size, total amount of memory for the internal memory in Old district, and the personated old man is during for execution time of GC the number of garbage reclamation Old in Old district and recovery at every turn;
The internal memory that calculates Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Old district total amount of memory of using size and Old district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
Preferably, in the performance deficiency testing tool described in the embodiment of the present application 1, detection module 602 comprises:
Thread deadlock detection sub-module 605;
Thread deadlock detection sub-module 605 is used for each thread operational process of java applet is had and needed thread state data is added up comparison;
Exist thread state data etc. to bide one's time between any two threads, the performance deficiency of determining described java applet is thread deadlock.
Preferably, in the performance deficiency testing tool described in the embodiment of the present application 1, detection module 602 comprises:
Thread-safe detection sub-module 606;
The java applet thread response data that transmission is asked to client that thread-safe detection sub-module 606 is used for obtaining at described data acquisition module 601 comprises when the java applet thread sends the total number of response, response assertion failed number and the java applet thread abnormal responses number that transmission is asked to client of request to client;
Judge described java applet in the value of virtual machine service request in service response error rate whether greater than 0, if so, determine that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is: the difference of described response assertion failed number and described abnormal responses number is again divided by the resulting business of the total number of response.
Corresponding with the method that a kind of performance deficiency detection method of above-mentioned the application embodiment 2 provides, referring to Figure 12, the application also provides a kind of preferred embodiment 2 of performance deficiency pick-up unit, and in the present embodiment, this device specifically can comprise:
Adjusting module 607;
Adjusting module 607 is used for according to performance deficiency being detected, the source code of described java applet being adjusted.
In the present embodiment, adjusting module 607 according to the performance deficiency that detects in corresponding performance data search java applet for the source code of described performance data, according to the performance deficiency that detects, the source code that finds is adjusted, java applet can better be moved in the computer system of reality.
Corresponding with a kind of performance deficiency detection method of above-mentioned the application and device embodiment, the application also provides a kind of embodiment of performance deficiency detection system, referring to Figure 13, in the present embodiment, be provided with performance deficiency pick-up unit 702 in the controller of performance deficiency detection system 701;
Data acquisition module in controller startability defect detecting device 702 comprises: jstat, thread dump, http pressure test instrument; Controller can be completed a series of configurations and comprise: by the data class of the application program of image data, needs sampling, sampling period, acquisition time etc., and check each collection kit normal operation whether in described data acquisition module by controller, in operational process, controller is sent to detection module in performance deficiency pick-up unit 702 with the performance deficiency data of collecting, complete rule detection, and return to testing result, control adjusting module the source code that has performance deficiency is adjusted.
Need to prove, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
At last, also need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operational zone, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the equipment that comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
For the convenience of describing, be divided into various unit with function when describing above device and describe respectively.Certainly, can realize the function of each unit in same or a plurality of softwares and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Above a kind of search method, the Apparatus and system that the application is provided is described in detail, used specific case herein the application's principle and embodiment are set forth, the explanation of above embodiment just is used for helping to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, the thought according to the application all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.

Claims (13)

1. a performance deficiency detection method, is characterized in that, the method comprises:
In the process of Java Virtual Machine JVM operation java applet, the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises: the internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process.
2. method according to claim 1, it is characterized in that, the internal storage data of described JVM comprises: in the JVM heap memory, the internal memory in Young of new generation district uses size, total amount of memory, and GC the number of garbage reclamation Young in Young district and execution time of recovery at every turn;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory that calculates Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Young district total amount of memory of using size and Young district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
3. method according to claim 1, it is characterized in that, the internal storage data of described JVM comprises: in the JVM heap memory, the personated old man uses size, total amount of memory for the internal memory in Old district, and the personated old man is for GC the number of garbage reclamation Old in Old district and execution time of recovery at every turn;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory that calculates Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Old district total amount of memory of using size and Old district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
4. method according to claim 1, is characterized in that, the thread state data of described java applet comprises: the status data of each thread of creating, operation, hang-up and terminal procedure in the java applet operational process;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
To having in each thread operational process of java applet and needed thread state data is added up comparison;
Exist thread state data etc. to bide one's time between any two threads, the performance deficiency of determining described java applet is thread deadlock.
5. method according to claim 1, is characterized in that, described java applet thread comprises the response data that client sends request:
The java applet thread sends the abnormal responses number of request to the total number of response, response assertion failed number and the java applet thread that client sends request to client;
Detect data according to default performance deficiency analysis rule and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
Judge described java applet in the value of virtual machine service request in service response error rate whether greater than 0, if so, determine that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is: the difference of described response assertion failed number and described abnormal responses number is again divided by the resulting business of the total number of response.
6. according to claim 2~5 described methods, is characterized in that, also comprises:
According to the performance deficiency that detects, the source code of described java applet is adjusted.
7. a performance deficiency pick-up unit, is characterized in that, this device comprises: data acquisition module and detection module;
Wherein:
Described data acquisition module is used for the process at Java Virtual Machine JVM operation java applet, and the performance deficiency that obtains described java applet detects data, and described performance deficiency detects data and comprises:
The internal storage data of JVM, the thread state data of described java applet and java applet thread send the response data of request to client;
Described detection module is used for detecting data according to default performance deficiency analysis rule and described performance deficiency, detects described java applet at the performance deficiency of operational process.
8. device according to claim 7, is characterized in that, described detection module comprises: the first memory leak detecting submodule;
Described the first memory leak detecting submodule is used for using size, total amount of memory at the internal memory that the JVM internal storage data that described data acquisition module obtains is JVM heap memory Young of new generation district, and during the execution time of GC the number of garbage reclamation Young in Young district and recovery at every turn;
The internal memory that calculates Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Young district total amount of memory of using size and Young district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
9. device according to claim 7, is characterized in that, described detection module comprises:
The second memory leak detecting submodule;
Described the second memory leak detecting submodule is used at the JVM internal storage data that described data acquisition module obtains, and to be JVM heap memory personated old man use size, total amount of memory for the internal memory in Old district, and the personated old man is during for execution time of GC the number of garbage reclamation Old in Old district and recovery at every turn;
The internal memory that calculates Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point that meets the ratio condition in each described execution time section on Young GC time shaft curve, the described curve point that meets the ratio condition is the curve point of the ratio minimum of the internal memory in the Old district total amount of memory of using size and Old district;
The described curve point that meets the ratio condition is carried out curve connect, and judge that whether the described ratio condition curve point slope on the curve that reconnects that meets surpasses n greater than 0 number, if so, determines that the performance deficiency of described java applet is RAM leakage; Wherein n is not less than 3 positive integer.
10. device according to claim 7, is characterized in that, described detection module comprises:
The thread deadlock detection sub-module;
Described thread deadlock detection sub-module is used for each thread operational process of java applet is had and needed thread state data is added up comparison;
Exist thread state data etc. to bide one's time between any two threads, the performance deficiency of determining described java applet is thread deadlock.
11. device according to claim 7 is characterized in that, described detection module comprises:
The thread-safe detection sub-module;
Described thread-safe detection sub-module is that the java applet thread is to the total number of response of client transmission request, when responding assertion failed number and the java applet thread abnormal responses number that transmission is asked to client for the java applet thread that obtains at the described data acquisition module response data that transmission is asked to client;
Judge described java applet in the value of virtual machine service request in service response error rate whether greater than 0, if so, determine that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is: the difference of described response assertion failed number and described abnormal responses number is again divided by the resulting business of the total number of response.
12. according to claim 8~11 described devices is characterized in that, also comprise: adjusting module;
Described adjusting module is used for according to performance deficiency being detected, the source code of described java applet being adjusted.
13. a performance deficiency detection system is characterized in that, is provided with the described performance deficiency pick-up unit of described claim 7~12 in the controller of described system.
CN201110355861.8A 2011-11-10 2011-11-10 A kind of performance deficiency detection method, device and system Active CN103106134B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110355861.8A CN103106134B (en) 2011-11-10 2011-11-10 A kind of performance deficiency detection method, device and system
HK13108667.0A HK1181493A1 (en) 2011-11-10 2013-07-24 Method, device and system for detecting performance defect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110355861.8A CN103106134B (en) 2011-11-10 2011-11-10 A kind of performance deficiency detection method, device and system

Publications (2)

Publication Number Publication Date
CN103106134A true CN103106134A (en) 2013-05-15
CN103106134B CN103106134B (en) 2016-01-13

Family

ID=48314012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110355861.8A Active CN103106134B (en) 2011-11-10 2011-11-10 A kind of performance deficiency detection method, device and system

Country Status (2)

Country Link
CN (1) CN103106134B (en)
HK (1) HK1181493A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461832A (en) * 2015-01-07 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and device for monitoring resources of application server
CN105302712A (en) * 2014-07-17 2016-02-03 南京普爱射线影像设备有限公司 Method for detecting C++ memory leakage
CN106557425A (en) * 2016-11-25 2017-04-05 北京金山安全软件有限公司 Application adaptation test method and device and terminal equipment
CN107220179A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 A kind of automatic test script of storage system and the method for test
CN107220167A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of method of QAT performance automatic tests
CN107797901A (en) * 2017-10-25 2018-03-13 四川长虹电器股份有限公司 A kind of storehouse analysis and the implementation method of mail Realtime Alerts
CN108073439A (en) * 2016-11-11 2018-05-25 深圳业拓讯通信科技有限公司 A kind of JVM RAM leakages automatic testing method and system
CN109298959A (en) * 2017-07-25 2019-02-01 华为技术有限公司 A kind of memory abnormal detection method and equipment
CN109710538A (en) * 2019-01-17 2019-05-03 南京大学 A kind of static detection method for state related defects in large scale system
CN109992493A (en) * 2017-12-29 2019-07-09 宁波方太厨具有限公司 A kind of test method excluding gas heater software anomaly
CN111611711A (en) * 2020-05-21 2020-09-01 北京百度网讯科技有限公司 Automatic driving data processing method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286132A (en) * 2008-06-02 2008-10-15 北京邮电大学 Test method and system based on software defect mode
WO2010070490A1 (en) * 2008-12-18 2010-06-24 Koninklijke Philips Electronics, N.V. Software bug and performance deficiency reporting system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286132A (en) * 2008-06-02 2008-10-15 北京邮电大学 Test method and system based on software defect mode
WO2010070490A1 (en) * 2008-12-18 2010-06-24 Koninklijke Philips Electronics, N.V. Software bug and performance deficiency reporting system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白哥乐: "基于静态源码分析的多线程死锁检测方法研究", 《中国优秀硕士学位论文全文数据库》, 15 September 2011 (2011-09-15) *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302712A (en) * 2014-07-17 2016-02-03 南京普爱射线影像设备有限公司 Method for detecting C++ memory leakage
CN104461832B (en) * 2015-01-07 2017-09-12 浪潮(北京)电子信息产业有限公司 A kind of method and device for monitoring application server resource
CN104461832A (en) * 2015-01-07 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and device for monitoring resources of application server
CN108073439A (en) * 2016-11-11 2018-05-25 深圳业拓讯通信科技有限公司 A kind of JVM RAM leakages automatic testing method and system
CN106557425A (en) * 2016-11-25 2017-04-05 北京金山安全软件有限公司 Application adaptation test method and device and terminal equipment
CN107220179A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 A kind of automatic test script of storage system and the method for test
CN107220167A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of method of QAT performance automatic tests
CN109298959A (en) * 2017-07-25 2019-02-01 华为技术有限公司 A kind of memory abnormal detection method and equipment
CN109298959B (en) * 2017-07-25 2021-09-21 华为技术有限公司 Memory anomaly detection method and equipment
US11513932B2 (en) 2017-07-25 2022-11-29 Huawei Technologies Co., Ltd. Memory anomaly detection method and device
CN107797901A (en) * 2017-10-25 2018-03-13 四川长虹电器股份有限公司 A kind of storehouse analysis and the implementation method of mail Realtime Alerts
CN109992493A (en) * 2017-12-29 2019-07-09 宁波方太厨具有限公司 A kind of test method excluding gas heater software anomaly
CN109710538A (en) * 2019-01-17 2019-05-03 南京大学 A kind of static detection method for state related defects in large scale system
CN109710538B (en) * 2019-01-17 2021-05-28 南京大学 Static detection method for state-related defects in large-scale system
CN111611711A (en) * 2020-05-21 2020-09-01 北京百度网讯科技有限公司 Automatic driving data processing method and device and electronic equipment
CN111611711B (en) * 2020-05-21 2023-06-20 北京百度网讯科技有限公司 Automatic driving data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN103106134B (en) 2016-01-13
HK1181493A1 (en) 2013-11-08

Similar Documents

Publication Publication Date Title
CN103106134B (en) A kind of performance deficiency detection method, device and system
US9424157B2 (en) Early detection of failing computers
CN102789416B (en) Memory fault injection method and simulator thereof for software built-in test (BIT)
US9075911B2 (en) System and method for usage pattern analysis and simulation
CN102402479B (en) For the intermediate representation structure of static analysis
CN103109276B (en) System detection method
CN106326067B (en) A kind of method and device that cpu performance is monitored under pressure test
US20060253837A1 (en) Using a call stack hash to record the state of a process
CN103902442B (en) A kind of cloud software health degree evaluating method and system
CN105183592B (en) Method and apparatus for supporting performance evaluation
CN105912458A (en) Method and system for dynamically detecting C/C++ memory leak
CN103150250B (en) Application program capacity detection system and application program capacity detection method
US20080276129A1 (en) Software tracing
CN103389939A (en) Detection method and detection system for controlled heap allocation bug
CN104657255A (en) Computer-implemented method and system for monitoring information technology systems
CN104679645A (en) Method for detecting stack space allowance on real time
CN102693460A (en) Tester management system and method thereof
CN102646066B (en) Method and device for obtaining starting-up time
CN107038120A (en) A kind of method for testing software and equipment
CN110704303B (en) Method and device for acquiring test coverage information
Jindal et al. Online memory leak detection in the cloud-based infrastructures
CN103902445A (en) Regression test object determination method and device
CN110740081A (en) Data visualization method for page performance of standard multiple companies
JP2012027912A (en) System and method for use in indicating execution of application code
CN107273283B (en) Automatic software detection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1181493

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1181493

Country of ref document: HK