CN103106134B - A kind of performance deficiency detection method, device and system - Google Patents
A kind of performance deficiency detection method, device and system Download PDFInfo
- Publication number
- CN103106134B CN103106134B CN201110355861.8A CN201110355861A CN103106134B CN 103106134 B CN103106134 B CN 103106134B CN 201110355861 A CN201110355861 A CN 201110355861A CN 103106134 B CN103106134 B CN 103106134B
- Authority
- CN
- China
- Prior art keywords
- java applet
- performance deficiency
- data
- thread
- 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.)
- Active
Links
- 230000007812 deficiency Effects 0.000 title claims abstract description 209
- 238000001514 detection method Methods 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 claims abstract description 116
- 230000008569 process Effects 0.000 claims abstract description 86
- 238000004458 analytical method Methods 0.000 claims abstract description 30
- 230000004044 response Effects 0.000 claims description 75
- 230000002159 abnormal effect Effects 0.000 claims description 14
- 238000011084 recovery Methods 0.000 claims description 14
- 230000015556 catabolic process Effects 0.000 abstract description 4
- 230000009885 systemic effect Effects 0.000 abstract description 4
- 238000012360 testing method Methods 0.000 description 19
- 230000000875 corresponding effect Effects 0.000 description 15
- 230000007547 defect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 206010033799 Paralysis Diseases 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
This application provides a kind of performance deficiency detection method, device and system, described method comprises: run at Java Virtual Machine JVM in the process of java applet, and the performance deficiency obtaining described java applet detects data; Detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process.Thus before java applet runs in actual environment, the performance deficiency that exists in java applet source code can be determined accurately, and then in time the source code that there is performance deficiency is adjusted, ensure that the performance of the computer system of actual motion java applet, further avoid computer system and running the systemic breakdown problem that may occur due to performance deficiency in java applet process.
Description
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 can writing cross-platform software.A very important feature of Java language is exactly the independence with platform.And use Java Virtual Machine to be the key realizing this feature.General higher level lanquage at least needs to be compiled into different object codes if will be run on different platforms.
Java Virtual Machine (JavaVirtualMachine, JVM) is the virtual machine of the operation java applet realized by the function of the various computing machine of analogue simulation on the computing machine of reality.JVM can comprise a set of byte code instruction collection, one group of register, stack, a garbage reclamation heap and a storage means territory when realizing.Java Virtual Machine is when running java applet, do not need to recompilate even if the source code of java applet runs in different platform yet, because JVM shields the relevant information of specific operating system platform, the object code (bytecode) Java source code only need being converted to can run on a java virtual machine just directly can run in kinds of platform.
If performance deficiency appears in the source code of java applet, the computer system performance of working procedure will be caused when so this java applet runs in actual environment lower, even can cause the paralysis of computer system.Therefore, it is just very necessary that source code for java applet carries out performance defects detection, only just can the Java source code that there is performance deficiency be adjusted before java applet actual motion, the performance of guarantee computer system, also can avoid computer system running the paralysis problem occurred in java applet process further.
But inventor finds through research, also do not exist in prior art and utilize virtual machine effectively the performance deficiency of the source code of java applet to be carried out to the method accurately detected.
Summary of the invention
Technical problems to be solved in this application are to provide a kind of performance deficiency detection method, accurately detect in order to utilize the performance deficiency of virtual machine to the source code of java applet, thus ensure the computer system performance of java applet when running in actual environment, further avoid computer system to rerun in java applet process and occur paralysis problem.
Present invention also provides a kind of performance deficiency pick-up unit, in order to ensure said method implementation and application in practice.
In order to solve the problem, this application discloses a kind of performance deficiency detection method, comprising:
Run in the process of java applet at Java Virtual Machine JVM, the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises: the response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
Detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process.
Preferably, the internal storage data of described JVM comprises: the internal memory in JVM heap memory Middle Cenozoic Young district uses size, total amount of memory, and the execution time of garbage reclamation YoungGC the number in Young district and each recovery;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory calculating Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Young district uses the ratio of the total amount of memory in size and Young district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
Preferably, the internal storage data of described JVM comprises: in JVM heap memory, personated old man uses size, total amount of memory for the internal memory in Old district, and personated old man's garbage reclamation OldGC number for Old district and the execution time of at every turn recovery;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory calculating Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Old district uses the ratio of the total amount of memory in size and Old district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
Preferably, the thread state data of described java applet comprises: the status data of the establishment of each thread in java applet operational process, operation, hang-up and terminal procedure;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
To in each thread operational process of java applet to have and required thread state data carries out statistics comparison;
Between any two threads, there is thread state data etc. bide one's time, determine that the performance deficiency of described java applet is thread deadlock.
Preferably, described java applet thread comprises the response data that client sends request:
The abnormal responses number that the total number of response that java applet thread sends request client, response assertion failed number and java applet thread send request client;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
Judge whether the value of described java applet service request response error rate in virtual machine runs is greater than 0, if so, then determines that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is for: the difference of described response assertion failed number and described abnormal responses number is again divided by the business responding total number and obtain.
Preferably, also comprise:
Adjust according to the source code of performance deficiency to described java applet detected.
This 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 running in the process of java applet at Java Virtual Machine JVM, and the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises:
The response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
Described detection module is used for detecting data according to the performance deficiency analysis rule preset and described performance deficiency, detects the performance deficiency of described java applet at operational process.
Preferably, described detection module comprises: the first memory leak detecting submodule;
The JVM internal storage data that described first memory leak detecting submodule is used for obtaining at described data acquisition module is that the internal memory in JVM heap memory Middle Cenozoic Young district uses size, total amount of memory, and during execution time of garbage reclamation YoungGC the number in Young district and recovery at every turn;
The internal memory calculating Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Young district uses the ratio of the total amount of memory in size and Young district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
Preferably, described detection module comprises:
Second memory leak detecting submodule;
The JVM internal storage data that described second memory leak detecting submodule is used for obtaining at described data acquisition module is that in JVM heap memory, personated old man uses size, total amount of memory for the internal memory in Old district, and during the execution time of personated old man for garbage reclamation OldGC the number in Old district and recovery at every turn;
The internal memory calculating Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Old district uses the ratio of the total amount of memory in size and Old district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
Preferably, described detection module comprises:
Thread deadlock detection sub-module;
Described thread deadlock detection sub-module be used in each thread operational process of java applet have and thread state data carry out statistics comparison;
Between any two threads, there is thread state data etc. bide one's time, determine that the performance deficiency of described java applet is thread deadlock.
Preferably, described detection module comprises:
Thread-safe detection sub-module;
Described thread-safe detection sub-module be used for the java applet thread that described data acquisition module obtains to the response data that client sends request be java applet thread client is sent request the total number of response, response assertion failed number and java applet thread client is sent request abnormal responses number time;
Judge whether the value of described java applet service request response error rate in virtual machine runs is greater than 0, if so, then determines that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is for: the difference of described response assertion failed number and described abnormal responses number is again divided by the business responding total number and obtain.
Preferably, also comprise: adjusting module;
Described adjusting module is used for according to detecting that the source code of performance deficiency to described java applet adjusts
Present invention also provides a kind of performance deficiency detection system, in the controller of described system, be provided with performance deficiency pick-up unit.
Compared with prior art, the application comprises following advantage:
In this application, run in the process of java applet at Java Virtual Machine JVM, first obtain the performance deficiency data of java applet, described performance deficiency data comprise: the response data that the internal storage data of JVM, the thread state data of java applet and java applet thread send request client; Then the performance deficiency according to the performance deficiency analysis rule preset and described acquisition detects data, detects the performance deficiency of described java applet in operational process.
In whole performance deficiency testing process, by java applet on Java Virtual Machine JVM in operational process, involved java applet runs the internal storage data of the JVM taken, the thread state data of each thread of java applet and java applet thread gather with default collection period the response data that client sends request, and by the performance deficiency analysis rule preset, data analysis is detected to the performance deficiency of above-mentioned acquisition, when the performance deficiency detection data obtained do not meet default performance deficiency analysis rule, determine that the performance deficiency obtained detects the performance deficiency corresponding to data, thus before java applet runs in actual environment, the performance deficiency that exists in java applet source code can be determined accurately, and then in time the source code that there is performance deficiency is adjusted, ensure that the performance of the computer system of actual motion java applet, further avoid computer system and running the systemic breakdown problem that may occur due to performance deficiency in java applet process.
Preferably, in the application, according to the performance deficiency analysis rule preset, data are detected to the performance deficiency obtained and carry out performance defects detection, when detecting performance deficiency, data can be detected for the multipair performance deficiency of answering of described performance deficiency to adjust the source code in java applet, make adjustment process more accurate quick.
Certainly, the arbitrary product implementing the application might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 2 is a particular flow sheet of a kind of performance deficiency detection method embodiment 1 in the application;
Fig. 3 is a concrete exemplary plot of a kind of performance deficiency detection method embodiment 1 in the application;
Fig. 4 is a concrete exemplary plot of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 5 is a concrete exemplary plot of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 6 is a particular flow sheet of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 7 is a particular flow sheet of a kind of performance deficiency detection method embodiment 1 of the application;
Fig. 8 is a 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, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under 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.Such as: personal computer, server computer, handheld device or portable set, laptop device, multi-processor device, the distributed computing environment comprising above any device or equipment etc.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
One of main thought of the application can comprise, first, run in the process of java applet at Java Virtual Machine JVM, the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises: the response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client; Then, detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process.Thus can before java applet runs in actual environment, the performance deficiency existed in java applet source code is determined in virtual machine, in time the source code that there is performance deficiency is adjusted, ensure that the performance of the computer system of actual motion java applet, avoid the systemic breakdown problem that may occur owing to there is performance deficiency in 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: run in the process of java applet at Java Virtual Machine JVM, the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises: the response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
In the operational process of java applet on Java Virtual Machine JVM, comprehensively can relate to the properties data of program itself and Java Virtual Machine JVM, carrying out in performance defect inspection process in the application, obtain the internal storage data of java virtual machine JVM that java applet takies in operational process, the response data that in java applet operational process, the status data of each thread and java applet thread send request client;
Wherein: the internal storage data of the Java Virtual Machine JVM of acquisition comprises:
The internal memory in JVM heap memory Middle Cenozoic Young district uses size, total amount of memory, and the execution time of garbage reclamation YoungGC the number in Young district and each recovery; And personated old man uses size, total amount of memory for the internal memory in Old district in JVM heap memory, and personated old man's garbage reclamation OldGC number for Old district and the execution time of at every turn recovery;
In the java applet operational process obtained, the status data of each thread comprises:
The status data of the establishment of each thread in java applet operational process, operation, hang-up and terminal procedure; And the information data of Java thread stack in java applet operational process;
The java applet thread obtained comprises the response data that client sends request:
The abnormal responses number that the total number of response that java applet thread sends request client, response assertion failed number and java applet thread send request client;
The embodiment of the present application is in performance deficiency testing process, above various performance detection data is obtained simultaneously, better to carry out detection to the performance deficiency that may occur in java applet operational process to determine in performance deficiency testing process, the actual motion environment that java applet runs in computer systems, which better can be simulated.
Step 102: detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process;
Detect data to the performance deficiency obtained in the embodiment of the present application to analyze according to the performance deficiency analysis rule preset, thus go out performance deficiency corresponding to described performance deficiency data for the concrete performance deficiency Data Detection obtained.
The process of carrying out performance defects detection in the application according to the internal storage data of default capabilities defect analysis rule to the Java Virtual Machine JVM obtained is shown with reference to figure 2, Fig. 2; The internal storage data of wherein said JVM comprises: the internal memory in JVM heap memory Middle Cenozoic Young district uses size, total amount of memory, and the execution time of garbage reclamation YoungGC the number in Young district and each recovery;
Described testing process can comprise:
Step S201: the internal memory calculating Young district uses the ratio of the total amount of memory in size and Young district;
Step S202: obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Young district uses the ratio of the total amount of memory in size and Young district minimum;
Step S203: curve connection is carried out to the described curve point meeting ratio condition;
Step S204: meet ratio condition curve point described in judgement and whether be greater than the number of 0 more than n in the rate of curve reconnected; Wherein n be not less than 3 positive integer, if so, perform step S205;
Step S205: determine that the performance deficiency of described java applet is RAM leakage.
What needs were described above step S201 ~ S205 is, when Java Virtual Machine JVM runs java applet, internal memory due to Java Virtual Machine JVM is limited, in order to ensure the normal operation of java applet, so when Java Virtual Machine JVM detects that memory source is nervous, will go automatically to clear up the memory headroom in java applet operational process shared by Useless object.
In order to better describe the removal process of Java Virtual Machine JVM to useless memory object, can the Young district of new generation shown in reference diagram 3 internal memory use schematic diagram, wherein, coordinate axis M is time shaft, and coordinate axis N represents that the internal memory in Young district of new generation uses the ratio of the total amount of memory in size and Young district; Curve in coordinate axis is the ratio P curve on a timeline of the internal memory use size in Young district of new generation and the total amount of memory in Young district of new generation; Time period between T1 ~ T2 is once execution time of the garbage reclamation in Young district of new generation, within T1 ~ T2 time period, T2 is the end time point of a garbage reclamation, the ratio P at the curve point R place corresponding at T2 time point place is the minimum value in T1 ~ T2 time period, is also minimum in the garbage reclamation time period that the S point in identical Fig. 1 is corresponding at it with the ratio P of T point; In normal garbage collection procedure, the available straight line H of R, S, T 3 connects, and the slope of straight line H is 0.
In the embodiment of the present application, when there is RAM leakage, with reference to the concrete exemplary plot that the internal memory in the Young district of new generation shown in figure 4 uses, after each execution garbage reclamation, memory headroom shared by Useless object can not be discharged completely, 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 connection, and calculate 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 is greater than the point of 0 more than 3, now can determine that the performance deficiency of java applet is RAM leakage.
It should be noted that, the example shown in Fig. 4 is a particular example, and in each garbage collection procedure, the memory headroom shared by Useless object all can not get discharging completely at every turn; In order to better be described the application's performance deficiency detection method, the concrete exemplary plot that the internal memory with reference to the Young district of new generation shown in figure 5 uses; In each garbage collection procedure, qualified point comprises A, B, C, D, E, F, carry out curve to A, B, C, D, E, F to reconnect, A point and C point are in the same horizontal line, the rate of curve reconnected of B, D, E, F is greater than 0 point, and the point being greater than 0 is more than 3, now can determine that the performance deficiency of java applet is RAM leakage.
In the process performing garbage reclamation GC, after each GC, remaining internal memory all can tail off, and is finally bound to become 0; In the application, after beginning Data Collection, the data of collecting after first time GC, the original state that factor data is collected is unknowable, so the data of collecting after first time GC are not used, and judge that slope at least needs the data of more than 2 times, so the value of n is at least 3 in the application; The existence of frequency n is because there is accidental change in java application, reports by mistake to reduce data accidentally to transfinite, and increases the degree of accuracy that n value improves detection.
The process of carrying out Performance Detection in the application according to the internal storage data of default capabilities defect analysis rule to the Java Virtual Machine JVM obtained is shown with reference to figure 6, Fig. 6; The internal storage data of wherein said JVM comprises: in JVM heap memory, personated old man uses size, total amount of memory for the internal memory in Old district, and personated old man's garbage reclamation OldGC number for Old district and the execution time of at every turn recovery; Corresponding testing process can comprise:
Step S301: the internal memory calculating Old district uses the ratio of the total amount of memory in size and Old district;
Step S302: obtain the curve point in execution time section described in each, OldGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Old district uses the ratio of the total amount of memory in size and Old district minimum;
Step S303: curve connection is carried out to the described curve point meeting ratio condition;
Step S304: meet described in judgement number that ratio condition curve point slope on the curve reconnected is greater than 0 whether more than n, n be not less than 3 positive integer, if so, perform step S305;
Step S305: determine that the performance deficiency of described java applet is RAM leakage.
What needs were described above step S301 ~ S305 is, in the embodiment of the present application for the performance data in Young district of new generation and personated old man for Old district performance data be identical according to the principle of detected rule, memory leak detecting process for Old district is identical with Young district, can refer to the above-mentioned performance testing process to Young district and diagram, be not described in detail herein.
With reference to figure 7, Fig. 7 shows the process of carrying out Performance Detection in the embodiment of the present application according to the thread state data of default capabilities defect analysis rule to the java applet obtained, and in the java applet operational process of described acquisition, the status data of each thread comprises: the status data of the establishment of each thread in java applet operational process, operation, hang-up and terminal procedure;
So corresponding testing process comprises:
Step S401: in each thread operational process of java applet to have and required thread state data carries out statistics comparison;
Step S402: there is thread state data etc. and bide one's time between any two threads, determines that the performance deficiency of described java applet is thread deadlock;
Such as:
" thread 1 " and " thread 2 " are two threads in java applet operational process, and at a time in operational process, " thread 1 " and " thread 2 " are in following state:
" thread 2 ":
Atjava program $ 2.run (testJstack.java:29)
-waitingtolock<0x8c087670>(ajava.lang.Object)
-locked<0x8c087678>(ajava.lang.Object)
" thread 1 ":
Atjava program $ 1.run (testJstack.java:15)
-waitingtolock<0x8c087678>(ajava.lang.Object)
-locked<0x8c087670>(ajava.lang.Object)
Now " thread 1 " and " thread 2 " are all waiting pending data <0x8c087670>, and cannot proceed, and namely thread deadlock occur.
With reference to figure 8, Fig. 8 shows the process of according to default capabilities defect analysis rule, the java applet thread obtained being carried out to Performance Detection in the embodiment of the present application to the response data that client sends request, and the java applet thread of described acquisition comprises the response data that client sends request: the abnormal responses number that the total number of response that java applet thread sends request client, response assertion failed number and java applet thread send request client; So corresponding testing process comprises:
Step S501: judge whether the value of described java applet service request response error rate in virtual machine runs is greater than 0; If so, step S502 is performed;
Step S502: determine that the performance deficiency of described java applet is that thread is dangerous.
Need to be described step S501 ~ S502, in the application, service response request response error rate is for: the difference of described response assertion failed number and described abnormal responses number is again divided by the business responding total number and obtain.
In the response process that java applet thread sends request client, for the request of http website status, only can carry out normal response to the request containing mark " 20x ", " 20x " wherein represents the status codes such as 200,201,202; Request of data for non-" 20x " can not carry out normal response; The response of the request of data to non-" 20x " is included in response assertion failed number, and the abnormal response of " non-20x " request of data is belonged to the normal characteristic of java applet thread, therefore the service response request response error rate difference that is described response assertion failed number and described responsive state non-" 20x " is again divided by the business responding total number and obtain.
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: adjust according to the source code of performance deficiency to described java applet detected;
After the performance deficiency data determination performance deficiency of the performance deficiency analysis rule that foundation is preset and acquisition, the correlated source code of java applet is adjusted;
In the embodiment of the present application, obtain all kinds of performance datas be applied to when java applet runs in Java Virtual Machine JVM, different analysis rules is adopted for different performance datas, the performance deficiency that may occur corresponding with it is obtained for each class performance data, then the source code that each class performance data of corresponding amendment is corresponding in java applet, enable java applet more perfect, better run in actual computer system.
Below to provide in the embodiment of the present application the instantiation that the correlated source code of java applet adjusts:
Code snippet is as follows:
In above-mentioned code segment, in 2nd row, func () is by calling getConnection, apply for a connecting object, but at the 5th row, apply for again a new connecting object, and lost quoting of the object of first application, afterwards when program often adjusts func () method, can not discharge causing the new object of application one.
When above-mentioned code is run in Java Virtual Machine, the performance deficiency detection method that the application provides can detect in above-mentioned code to there is RAM leakage, adjust above-mentioned code according to the performance deficiency detected, the mode of adjustment is specially to be left out code the 5th row.
Same, if thread deadlock detected in the application, Resourse Distribute solution annual reporting law can be called accordingly and the Resourse Distribute in code operational process is adjusted, to solve the problem of thread deadlock.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by 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 involved action and module might not be that the application is necessary.
Corresponding with the method that a kind of performance deficiency of above-mentioned the application detection method embodiment 1 provides, see Figure 10, present invention also provides a kind of performance deficiency pick-up unit embodiment 1, in the present embodiment, this device can comprise:
Data acquisition module 601 and detection module 602;
Wherein:
Data acquisition module 601 is for running in the process of java applet at Java Virtual Machine JVM, and the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises:
The response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
In the application, the Jstat instrument in JavaJDKtool specifically can be set in data acquisition module 601, JVM memory source consumption data is gathered;
Threaddump instrument, threaddump instrument is the instrument printing Java thread stack;
Http pressure test instrument;
Detection module 602, for detecting data according to the performance deficiency analysis rule preset and described performance deficiency, detects the performance deficiency of described java applet at operational process.
The performance deficiency testing tool that application the embodiment of the present application provides, can run in the process of java applet at Java Virtual Machine JVM, the performance deficiency obtaining described java applet detects data, then, data are detected according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process, thus can before java applet runs in actual environment, the performance deficiency existed in java applet source code is determined in virtual machine, and the source code that there is performance deficiency is adjusted, ensure that the performance of the computer system of actual motion java applet, avoid in computer system actual motion java applet process and may occur systemic breakdown problem owing to there is performance deficiency in java applet source code.
Device described in the present embodiment can be integrated on the server of performance deficiency testing tool, also can be connected with performance deficiency testing tool as an entity separately, in addition, it should be noted that, when the method described in the application adopts software simulating, a function that can increase newly as performance deficiency testing tool, can write separately corresponding program, the application does not limit the implementation of described method or device yet.
See Figure 11, preferably, 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 internal memory that first memory leak detecting submodule 603 comprises JVM heap memory Middle Cenozoic Young district for the JVM internal storage data obtained at described data acquisition module 601 uses size, total amount of memory, and during execution time of garbage reclamation YoungGC the number in Young district and recovery at every turn;
The internal memory calculating Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Young district uses the ratio of the total amount of memory in size and Young district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
In the application, the first memory leak detecting submodule 603 can adopt the Jstat instrument in JavaJDKtool, gathers JVM memory source consumption data.
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;
Second memory leak detecting submodule 604 comprises personated old man in JVM heap memory for the JVM internal storage data obtained at described data acquisition module 601 and uses size, total amount of memory for the internal memory in Old district, and during the execution time of personated old man for garbage reclamation OldGC the number in Old district and recovery at every turn;
The internal memory calculating Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Old district uses the ratio of the total amount of memory in size and Old district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be 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 in each thread operational process of java applet have and thread state data carry out statistics comparison;
Between any two threads, there is thread state data etc. bide one's time, determine that the performance deficiency of 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;
When thread-safe detection sub-module 606 comprises to the response data that client sends request the abnormal responses number that the total number of response, response assertion failed number and java applet thread that java applet thread sends request client send request client for the java applet thread that obtains at described data acquisition module 601;
Judge whether the value of described java applet service request response error rate in virtual machine runs is greater than 0, if so, then determines that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is for: the difference of described response assertion failed number and described abnormal responses number is again divided by the business responding total number and obtain.
Corresponding with the method that a kind of performance deficiency of above-mentioned the application detection method embodiment 2 provides, see Figure 12, present invention also provides a kind of preferred embodiment 2 of performance deficiency pick-up unit, in the present embodiment, this device specifically can comprise:
Adjusting module 607;
For foundation, adjusting module 607 detects that the source code of performance deficiency to described java applet adjusts.
In the present embodiment, adjusting module 607 searches the source code for described performance data in java applet according to performance data corresponding to the performance deficiency detected, according to the performance deficiency detected, the source code found is adjusted, java applet is better run in the computer system of reality.
Corresponding with a kind of performance deficiency detection method of above-mentioned the application and device embodiment, present invention also provides a kind of embodiment of performance deficiency detection system, see Figure 13, in the present embodiment, performance deficiency pick-up unit 702 is provided with in the controller of performance deficiency detection system 701;
Data acquisition module in controller startability defect detecting device 702, comprising: jstat, threaddump, http pressure test instrument; Controller can complete a series of configuration and comprise: the application program of collected data, the data class, sampling period, acquisition time etc. of needs sampling, and check each collection kit in described data acquisition module whether normal operation by controller, in operational process, the performance deficiency data collected are sent to the detection module in performance deficiency pick-up unit 702 by controller, complete rule detection, and return testing result, control adjusting module and the source code that there is performance deficiency is adjusted.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software 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 mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
A kind of search method provided the application above, Apparatus and system are described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.
Claims (11)
1. a performance deficiency detection method, is characterized in that, the method comprises:
Run in the process of java applet at Java Virtual Machine JVM, the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises: the response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
Detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process, wherein,
If the internal storage data of described JVM comprises: the internal memory in JVM heap memory Middle Cenozoic Young district uses size, total amount of memory, and the execution time of garbage reclamation YoungGC the number in Young district and each recovery;
The performance deficiency analysis rule that described foundation is preset and described performance deficiency detect data, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory calculating Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Young district uses the ratio of the total amount of memory in size and Young district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
2. method according to claim 1, is characterized in that, the thread state data of described java applet comprises: the status data of the establishment of each thread in java applet operational process, operation, hang-up and terminal procedure;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
To in each thread operational process of java applet to have and required thread state data carries out statistics comparison;
Between any two threads, there is thread state data etc. bide one's time, determine that the performance deficiency of described java applet is thread deadlock.
3. method according to claim 1, is characterized in that, described java applet thread comprises the response data that client sends request:
The abnormal responses number that the total number of response that java applet thread sends request client, response assertion failed number and java applet thread send request client;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
Judge whether the value of described java applet service request response error rate in virtual machine runs is greater than 0, if so, then determines that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is for: the difference of described response assertion failed number and described abnormal responses number is again divided by the business responding total number and obtain.
4. according to the method in claim 2 or 3, it is characterized in that, also comprise:
Adjust according to the source code of performance deficiency to described java applet detected.
5. a performance deficiency detection method, is characterized in that, the method comprises:
Run in the process of java applet at Java Virtual Machine JVM, the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises: the response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
Detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process, wherein,
If the internal storage data of described JVM comprises: in JVM heap memory, personated old man uses size, total amount of memory for the internal memory in Old district, and personated old man's garbage reclamation OldGC number for Old district and the execution time of at every turn recovery;
Then detect data according to the performance deficiency analysis rule preset and described performance deficiency, detect the performance deficiency of described java applet in operational process and comprise:
The internal memory calculating Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point in execution time section described in each, OldGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Old district uses the ratio of the total amount of memory in size and Old district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
6. 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 running in the process of java applet at Java Virtual Machine JVM, and the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises:
The response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
Described detection module is used for detecting data according to the performance deficiency analysis rule preset and described performance deficiency, detects the performance deficiency of described java applet at operational process; Described detection module comprises: the first memory leak detecting submodule;
The JVM internal storage data that described first memory leak detecting submodule is used for obtaining at described data acquisition module is that the internal memory in JVM heap memory Middle Cenozoic Young district uses size, total amount of memory, and during execution time of garbage reclamation YoungGC the number in Young district and recovery at every turn;
The internal memory calculating Young district uses the ratio of the total amount of memory in size and Young district;
Obtain the curve point in execution time section described in each, YoungGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Young district uses the ratio of the total amount of memory in size and Young district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
7. device according to claim 6, is characterized in that, described detection module comprises:
Thread deadlock detection sub-module;
Described thread deadlock detection sub-module be used in each thread operational process of java applet have and thread state data carry out statistics comparison;
Between any two threads, there is thread state data etc. bide one's time, determine that the performance deficiency of described java applet is thread deadlock.
8. device according to claim 6, is characterized in that, described detection module comprises:
Thread-safe detection sub-module;
Described thread-safe detection sub-module be used for the java applet thread that described data acquisition module obtains to the response data that client sends request be java applet thread client is sent request the total number of response, response assertion failed number and java applet thread client is sent request abnormal responses number time;
Judge whether the value of described java applet service request response error rate in virtual machine runs is greater than 0, if so, then determines that the performance deficiency of described java applet is that thread is dangerous; Wherein, described service request response error rate is for: the difference of described response assertion failed number and described abnormal responses number is again divided by the business responding total number and obtain.
9. the device according to claim 7 or 8, is characterized in that, also comprises: adjusting module;
Described adjusting module is used for according to detecting that the source code of performance deficiency to described java applet adjusts.
10. 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 running in the process of java applet at Java Virtual Machine JVM, and the performance deficiency obtaining described java applet detects data, and described performance deficiency detects data and comprises:
The response data that the internal storage data of JVM, the thread state data of described java applet and java applet thread send request client;
Described detection module is used for detecting data according to the performance deficiency analysis rule preset and described performance deficiency, detects the performance deficiency of described java applet at operational process; Described detection module comprises: the second memory leak detecting submodule;
The JVM internal storage data that described second memory leak detecting submodule is used for obtaining at described data acquisition module is that in JVM heap memory, personated old man uses size, total amount of memory for the internal memory in Old district, and during the execution time of personated old man for garbage reclamation OldGC the number in Old district and recovery at every turn;
The internal memory calculating Old district uses the ratio of the total amount of memory in size and Old district;
Obtain the curve point in execution time section described in each, OldGC time shaft curve meeting ratio condition, described in meet ratio condition curve point be the curve point that the internal memory in Old district uses the ratio of the total amount of memory in size and Old district minimum;
Curve connection is carried out to the described curve point meeting ratio condition, and meets ratio condition curve point slope on the curve reconnected and whether be greater than the number of 0 more than n described in judging, if so, then determine that the performance deficiency of described java applet is RAM leakage; Wherein n be not less than 3 positive integer.
11. 1 kinds of performance deficiency detection systems, is characterized in that, are provided with the performance deficiency pick-up unit described in described any one of claim 6 ~ 10 in the controller of described system.
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 HK1181493B (en) | 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 CN103106134A (en) | 2013-05-15 |
CN103106134B true 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 (1)
Country | Link |
---|---|
CN (1) | CN103106134B (en) |
Families Citing this family (12)
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 |
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 |
CN109298959B (en) | 2017-07-25 | 2021-09-21 | 华为技术有限公司 | Memory anomaly detection method and equipment |
CN107797901A (en) * | 2017-10-25 | 2018-03-13 | 四川长虹电器股份有限公司 | A kind of storehouse analysis and the implementation method of mail Realtime Alerts |
CN109992493B (en) * | 2017-12-29 | 2021-12-10 | 宁波方太厨具有限公司 | Test method for eliminating software exception of gas water heater |
CN109710538B (en) * | 2019-01-17 | 2021-05-28 | 南京大学 | A static detection method for state-dependent defects in large-scale systems |
CN111611711B (en) * | 2020-05-21 | 2023-06-20 | 北京百度网讯科技有限公司 | Automatic driving data processing method, device and electronic equipment |
CN112835765A (en) * | 2021-02-02 | 2021-05-25 | 中国工商银行股份有限公司 | Java program memory use condition monitoring method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286132A (en) * | 2008-06-02 | 2008-10-15 | 北京邮电大学 | A testing method and system based on software defect mode |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2527208C2 (en) * | 2008-12-18 | 2014-08-27 | Конинклейке Филипс Электроникс Н.В. | Software bug and performance deficiency reporting system |
-
2011
- 2011-11-10 CN CN201110355861.8A patent/CN103106134B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286132A (en) * | 2008-06-02 | 2008-10-15 | 北京邮电大学 | A testing method and system based on software defect mode |
Non-Patent Citations (1)
Title |
---|
基于静态源码分析的多线程死锁检测方法研究;白哥乐;《中国优秀硕士学位论文全文数据库》;20110915;第8-10页第2.2节、第13-22页第3.1节 * |
Also Published As
Publication number | Publication date |
---|---|
CN103106134A (en) | 2013-05-15 |
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 | |
CN102708016B (en) | The software and hardware method for testing reliability of task based access control section and system | |
US8291379B2 (en) | Runtime analysis of a computer program to identify improper memory accesses that cause further problems | |
CN107992401A (en) | Performance test evaluation method, device, terminal device and storage medium | |
CN102402479B (en) | For the intermediate representation structure of static analysis | |
US20090037885A1 (en) | Emulating execution of divergent program execution paths | |
CN103150250B (en) | Application program capacity detection system and application program capacity detection method | |
CN103995780B (en) | A kind of program error localization method based on sentence frequency statistics | |
CN108595343A (en) | The test method and device of application program | |
CN105740122B (en) | Method and system for monitoring memory leakage of mobile phone | |
CN101819549B (en) | Memory leak positioning method and device | |
CN104679645A (en) | Method for detecting stack space allowance on real time | |
Miao et al. | A clustering-based strategy to identify coincidental correctness in fault localization | |
CN102646066B (en) | Method and device for obtaining starting-up time | |
CN106528430A (en) | Application program detection method and device and electronic equipment | |
CN107038120A (en) | A kind of method for testing software and equipment | |
CN105786682A (en) | Implementation system and method for avoiding software performance failure | |
CN105095763A (en) | vulnerability defense method and device and electronic equipment | |
CN119558412A (en) | A large language model evaluation system and method | |
CN103914373A (en) | Method and device for determining priority corresponding to module characteristic information | |
CN110262956A (en) | A kind of test cases selection method and device | |
CN111858287A (en) | Code performance evaluation method and device, electronic device and storage medium | |
CN105824682A (en) | Virtual machine monitoring method, apparatus and system | |
CN118113508A (en) | Network card fault risk prediction method, device, equipment and medium |
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 |