Simple method optimization
First Claim
Patent Images
1. A process for monitoring, comprising:
- accessing a method;
automatically determining whether to modify said method, said step of automatically determining whether to modify said method includes automatically determining whether said method calls another method and whether said method has an access level that satisfies a criterion, wherein said criterion is a level of access control for said method that is provided by a programming language; and
modifying said method for a particular purpose only if said method calls another method and said access level satisfies said criterion.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods are classified as simple or complex. Complex methods are modified to add a tracer. Methods classified as simple are not modified to add a tracer. There are many different standards that can be used within the spirit of the present invention to classify methods as simple or complex. In one embodiment, a method is complex if it meets three criteria: (1) the method has an access level of public or package; (2) the method is non-synthetic and (3) the method calls at least one other method. Methods that do not satisfy all three criteria are classified as simple methods.
-
Citations
37 Claims
-
1. A process for monitoring, comprising:
-
accessing a method; automatically determining whether to modify said method, said step of automatically determining whether to modify said method includes automatically determining whether said method calls another method and whether said method has an access level that satisfies a criterion, wherein said criterion is a level of access control for said method that is provided by a programming language; and modifying said method for a particular purpose only if said method calls another method and said access level satisfies said criterion. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A process for monitoring, comprising:
-
automatically determining which methods of a set of methods call one or more other methods and are synthetic, wherein a synthetic method is a compiler generated method; and using a first tracing mechanism for said methods that call one or more other methods and are not synthetic without using said first tracing mechanism for methods that do not call one or more other methods or are synthetic. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. One or more non-transitory processor readable storage devices having processor readable code embodied on said processor readable storage devices, said processor readable code for programming one or more processors to perform a process comprising:
-
automatically determining which methods of a set of methods to modify, said step of determining includes automatically determining which methods call one or more other methods and have an access level of either public or package in the JAVA programming language; and modifying for a particular purpose only those methods that call one or more other methods and have an access level of either public or package in the JAVA programming language. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. One or more non-transitory processor readable storage devices having processor readable code embodied on said processor readable storage devices, said processor readable code for programming one or more processors to perform a process comprising:
-
automatically determining whether to trace a method, said step of determining includes automatically determining whether said method calls another method and if said method has an access level that satisfies a criterion, wherein said criterion is a level of access control for said method that is provided by a programming language; and tracing said method for a particular purpose only if said method calls another method and said access level satisfies the criterion. - View Dependent Claims (25, 26, 27, 28)
-
-
29. An apparatus capable of monitoring, comprising:
-
means for automatically determining whether a method calls another method; means for automatically determining whether said method can be called by a sufficient scope of one or more other methods; means for automatically determining whether said method is not a synthetic method; and means for tracing said method for a particular purpose only if said method calls another method, said method can be called by a sufficient scope of one or more other methods, and said method is not a synthetic method.
-
-
30. An apparatus capable of monitoring, comprising:
-
a storage device; and one or more processors in communication with said storage device, said one or more processors perform a process comprising; accessing a method, determining whether said method calls one or more different methods and can be called by a sufficient scope of one or more other methods, wherein the sufficient scope comprises determining a level of access control for said method that is provided by a programming language, and tracing said method for a particular purpose only if said method calls one or more different methods and can be called by a sufficient scope of one or more other methods. - View Dependent Claims (31, 32, 33, 34, 35, 36)
-
-
37. A process for monitoring, comprising:
-
accessing a method; automatically determining whether said method is complex, said step of automatically determining includes automatically determining that said method is complex if said method satisfies the following criteria; said method calls another method; said method has an access level of public or package in the JAVA programming language; and said method is not flagged by a compiler as being synthetic; and adding a tracer to said method only if said method is automatically determined to be complex.
-
Specification