Adding Functionality To Existing Code At Exits
First Claim
Patent Images
1. A method implemented on one or more machines for modifying existing object code, the method comprising:
- adding exit code to said existing object code; and
adding a new entry in an exceptions data store for said existing object code, said new entry points to said exit code.
3 Assignments
0 Petitions
Accused Products
Abstract
New code is added to existing object code in order to add new functionality. For example, a call to start a profiler function can be added at the beginning of a Java method and a call to stop the profiler function can be added at the exits of the Java method. A method may have many different exits. To insure that the profiler process is stopped regardless of which exit is performed, the byte code and exception table are modified.
-
Citations
40 Claims
-
1. A method implemented on one or more machines for modifying existing object code, the method comprising:
-
adding exit code to said existing object code; and adding a new entry in an exceptions data store for said existing object code, said new entry points to said exit code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. One or more processor readable storage devices having processor readable code embodied thereon, said processor readable code for programming one or more processors to perform a method comprising:
-
adding exit code to existing object code, and adding a new entry in an exceptions data store pointing to said exit code. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A method implemented on one or more machines for adding functionality to existing object code, the method comprising:
-
adding new exit functionality to said existing object code; creating a grouping of all or a portion of said existing object code; and associating said grouping of said existing object code with at least a portion of said new exit functionality that is to be performed if an exception occurs during execution of said grouping of said existing object code. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. One or more processor readable storage devices having processor readable code embodied thereon, said processor readable code for programming one or more processors to perform a method comprising:
-
adding new exit functionality to existing object code; creating a grouping of all or part of said existing object code; and associating said new exit functionality as a clean up process for said all or part of said existing object code grouped together. - View Dependent Claims (35, 36, 37)
-
-
38. An apparatus, comprising:
-
one or more storage devices; and one or more processors in communication with said one or more storage devices, said one or more processors programmed to perform a method comprising; accessing existing object code; and adding try and finally functionality to said existing object code. - View Dependent Claims (39, 40)
-
Specification