Simple method optimization
First Claim
Patent Images
1. A process for monitoring, comprising:
- accessing a method;
determining whether said method is complex; and
modifying said method for a particular purpose only if said method is complex.
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
46 Claims
-
1. A process for monitoring, comprising:
-
accessing a method;
determining whether said method is complex; and
modifying said method for a particular purpose only if said method is complex. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 38)
-
-
13. A process for monitoring, comprising:
-
determining which methods of a set of methods are complex; and
using a first tracing mechanism for said methods determined to be complex without using said first tracing mechanism for methods not determined to be complex. - View Dependent Claims (14, 16, 17, 18, 19, 20, 21)
-
-
22. One or more 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:
-
determining which methods of a set of methods are complex; and
modifying for a particular purpose only those methods that are determined to be complex. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. One or more 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:
-
determining whether a method is complex; and
tracing said method for a particular purpose only if said method is complex. - View Dependent Claims (34, 35, 36, 37)
-
-
39. An apparatus capable of monitoring, comprising:
-
means for determining whether a method is complex; and
means for tracing said method for a particular purpose only if said method is complex.
-
-
40. 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, 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 (41, 42, 43, 44, 45, 46)
-
Specification